- MySQL
- Redis
export POLLING_BOOTH_DATABASE_HOST='<database host>' # 127.0.0.1
export POLLING_BOOTH_DATABASE_NAME='<database name>' # polling_booth_development
export POLLING_BOOTH_DATABASE_USERNAME='<database username>' # root
export POLLING_BOOTH_DATABASE_PASSWORD='<database password>' # root
cp config/settings.js.example config/settings.js
NOTE: This settings.js
file is a example and need to be adjusted according to the actual situation.
npm install # Install dependencies
npm run migrate:up # Execute database migration
npm run debug
You can visit http://localhost:3000/swagger to view the API document.
Email: admin@example.com
Password: abcd1234
- Testcase
- Dockerizing