A scorekeeping and judging system for Science Olympiad tournaments.
- Allows event supervisors to submit scores
- Automatic generation of scoresheets and awards presentation
- ESUS-like time slot registration
- Team, schedule, and room management system
- Install MongoDB
- Install Node (comes with npm)
- Install Yarn (our package manager) with
npm i -g yarn
- Clone repo
Then in project root:
-
Create
.env
file with the following contents:DB_LOCAL_URL=mongodb://localhost/scoresheets-dev NODE_ENV=development JWT_SECRET=whatever-string-you-want
-
Run
yarn install
to install dependencies -
In separate console, run
mongod
(local development database) -
Run
yarn start:dev
, API server should start up atlocalhost:5000
- Install Postman
yarn start:dev
- Hit endpoints with Postman, something like
localhost:5000/status
- Install Jest (testing framework) with
yarn global add jest
- Run
yarn test