Cab Search System Application Rest APIs is an api that allow users to get available cars
- User can register drivers
- User can save location
- User can get the nearest available cars
- TYPESCRIPT
- JAVASCRIPT(Node.js/Express.js)
- Mocha
- Chai
- Chai-HTTP
To setup Cabs Search System Application Rest API, These tools should be installed in your PC
-
Clone this repo
-
Open the
-
Rename .env-sample to .env
- Your JWT_KEY can be any string value e.g "secret",
- Your DATABASE_URL_DEV should be your connection string,
- Your EMAIL should be your email for authenticating node mailer,
- Your EMAIL_PASSWORD should be your password to the email for authenticating node mailer
- Open terminal
- Run
npm install
oryarn install
- Run
npm run start:dev
oryarn start:dev
- Run
npm test-dev
oryarn test-dev