/taxi247

24hrs-7days a week taxi management system

Primary LanguageJavaScript

Taxi247

Easy and convinient BK-Test taxi services management.

Pre-requisites

  • Install Node.js.

  • Install Postgresql

  • Install postgis - A Spatial and Geographic objects for PostgreSQL

  • An ERD of the system can be viewed here

Environment Setup

  1. git clone this repository && cd to the project directory
  2. with postgres create a 2 databases : one for test and another for development
  3. Add the postgis extension to the created databases: create extension postgis;
  4. run npm install to install dependencies
  5. create a .env file in the root project directory
  6. copy the .env.example to the .env file and update it accordingly
  7. run npm run migrate && npm run seed to create the schemas and seed
  8. run npm run test to test the application unit tests

Testing specific endpoints: Run in Postman

  • Run the application with npm run start 🚀

Available API endpoints:

  • Naviate to http://localhost:3000/api/v1/api-docs/ on your browser after running the application