NCU Plus website backend. Provide RESTFUL resource api endpoints for frontend. Everyone can directly access courses information by using this api. Course information is imported by Course Fetcher.
Install dependencies:
npm ciSet environment variables:
cp .env.example .env
cp db.env.example db.env
# Edit *.env files to fit your environmentRun test database:
docker-compose up -d --buildDatabase is bind to port 9487, and Adminer is bind to port 8080 by default.
Start server:
npm run start:devBuild the application for production:
npm run buildLocally preview production build:
npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covNCU Plus is AGPL licensed.