Public API: https://nodejs-assessment.webtify.app
Postman Collection: https://www.getpostman.com/collections/88ea38bc13cab9118bb3
- Node ver 12+
-
Install project dependencies
npm install
-
Spin up docker containers for mysql databases (assessment & assessment_test)
docker-compose -f "docker-compose.yml" up -d --build
-
Create tables in 'assessment' database
npm run migrate
-
Create tables in 'assessment_test' database
npm run migrate:test
-
Start API Server locally (http://localhost:3000)
npm run start
For running test
npm run test