Add initial project setup with Docker, GitHub Actions, and meal timetable functionality
- Create Dockerfile for multi-stage build - Set up GitHub Actions workflow for CI/CD - Implement meal and timetable fetching logic - Add README and configuration files - Include cron job for scheduled execution - Establish .gitignore for build artifacts and environment files
This commit is contained in:
commit
40116ec84c
14 changed files with 519 additions and 0 deletions
7
app/lib/comcigan.ts
Normal file
7
app/lib/comcigan.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import Comcigan, { School, Weekday } from '@imnyang/comcigan.ts'
|
||||
|
||||
const comcigan = new Comcigan()
|
||||
|
||||
export default async function getTimetable({ schoolId, grade, classNum, weekday }: { schoolId: number, grade: number, classNum: number, weekday: number }) {
|
||||
return await comcigan.getTimetable(schoolId, grade, classNum, weekday, false)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue