Yellow Reward APIs

RESTful APIs by using Node.js with PostgreSQL.

Docker

  • docker-compose up --buld or docker-compose up -d

It's will be runing on port 5001 and connecting with postgre database automatically

Manual

Environment

  • NODE_ENV=development
  • PORT=<PORT>
  • DATABASE_POSTGRE_YELLOW=<Postgre Database URI>

Command Script

  • npm run start:dev
  • npm run test:unit
  • npm run test:integration

Repository

Github: https://github.com/apichaikub/yellow-reward-api

APIs Documentation

Database Schema

label-insde