Easy and convinient BK-Test taxi services management.
-
Install Node.js.
-
Install Postgresql
-
Install postgis - A Spatial and Geographic objects for PostgreSQL
-
An ERD of the system can be viewed here
- git clone this repository && cd to the project directory
- with postgres create a 2 databases :
one for test and another for development
- Add the postgis extension to the created databases:
create extension postgis;
- run
npm install
to install dependencies - create a
.env
file in the root project directory - copy the
.env.example
to the.env
file and update it accordingly - run
npm run migrate
&&npm run seed
to create the schemas and seed - run
npm run test
to test the application unit tests
- Run the application with
npm run start
🚀
- Naviate to
http://localhost:3000/api/v1/api-docs/
on your browser after running the application