Community App API Services
npm install
npm run dev
- Change DB config in
config
folder as suited
- Install Docker and Docker Compose
- Run
docker-compose build
- Run
docker-compose up
- To Seed DB on initial setup, run
npm run init-scoreboard-data
directly in docker container (Use docker exec)
- Challenge type configuration can be done for
Code
(config/tco/submissionCodeFields.json
) and Design
(config/tco/submissionCodeDesign.json
)
Upon changing these json files, npm run init-scoreboard-data
and npm start
need to be run again to have the latest changes.
- The role that has write access to the API is configured using
config.SCOREBOARD.ADMIN_ROLE