https://www.getpostman.com/collections/9784978c213ffb6b2c3a
- To gell all cars list https://octaglogicassignment.herokuapp.com/cars
- To get only avaliable cars list https://octaglogicassignment.herokuapp.com/onlineCars
- For rental calculations https://octaglogicassignment.herokuapp.com/rentalCal?carType=SUV
- Have Nodejs and NPM installed.
- Create MongoDb instance.
- Postman for API testing.
- git clone https://github.com/chethanrao49/octaglogicAssignment.git
- cd octaglogicAssignment
- npm install
- Create .env file from .env.example template
- npm start