postman collections link: https://www.getpostman.com/collections/cf22bb2eee606b7a39cf
Project link: https://vast-wave-52199.herokuapp.com/
(username = Admin, password = Admin)
- https://vast-wave-52199.herokuapp.com/login (get - login page)
- https://vast-wave-52199.herokuapp.com/login (post - login page)
- https://vast-wave-52199.herokuapp.com/addCar (get - add car page)
- https://vast-wave-52199.herokuapp.com/addCar (post - add car)
- https://vast-wave-52199.herokuapp.com/edit/{{carId}} (get - update page)({{carId}} == "_id" value from the response)
- https://vast-wave-52199.herokuapp.com/edit/{{carId}} (put - update name)
- https://vast-wave-52199.herokuapp.com/rmCar/{{carId}} (delete - delete the car)
- https://vast-wave-52199.herokuapp.com/register (get - register new user)
- https://vast-wave-52199.herokuapp.com/register (post - register new user)
- https://vast-wave-52199.herokuapp.com/login (post - login)
- https://vast-wave-52199.herokuapp.com/searchingModel?model={{model}} (get - searching car by model)({{model}} == name of the car)
- https://vast-wave-52199.herokuapp.com/available?dateFrom=2020-04-01&dateTo=2020-06-07 (get - availibility on specific date range)
- https://vast-wave-52199.herokuapp.com/carDetails/:id (get - rent car)
- https://vast-wave-52199.herokuapp.com/takeCar (post - rent car)
- https://vast-wave-52199.herokuapp.com/profil/:id (get - rent history )