INSTURCTION
- clone repo
- install dependencies
- crete .env file and copy everything from .env.example
- enjoy
example of local requests:
You can use https://fierce-reef-90055.herokuapp.com/ on heroku to test it with postman
example of requests:
- get all data
- GET https://fierce-reef-90055.herokuapp.com/transports
- GET https://fierce-reef-90055.herokuapp.com/routes
- get one by id
- GET https://fierce-reef-90055.herokuapp.com/transports/1
- GET https://fierce-reef-90055.herokuapp.com/routes/1
- delete by id
- DELETE https://fierce-reef-90055.herokuapp.com/transports/1
- DELETE https://fierce-reef-90055.herokuapp.com/routes/1
- update by id