Here are 2 entries in this accessment
- API server, which supply /api/question in POST method.
- Scheduler, use cron dependency, can run in a seperated application.
ensure your environment has yarn, then run:
yarn install
If your local environment has occupied 5432 port, please terminate it.
and run the docker compose to run our simplier postgres via docker.
run:
docker compose up -d
run:
npm start
run:
npm run cronjob