Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wuletawwonte/vehicle-reservation-api
Vehicle Reservation API is a custom built REST api for the Vehicle Reservation App. It is built using Express, NodeJS and MongoDb
https://github.com/wuletawwonte/vehicle-reservation-api
api express javascript mongodb mongodb-atlas nodejs restful-api vehicle
Last synced: 27 days ago
JSON representation
Vehicle Reservation API is a custom built REST api for the Vehicle Reservation App. It is built using Express, NodeJS and MongoDb
- Host: GitHub
- URL: https://github.com/wuletawwonte/vehicle-reservation-api
- Owner: wuletawwonte
- License: mit
- Created: 2022-04-13T10:20:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-16T13:16:38.000Z (over 2 years ago)
- Last Synced: 2024-02-01T01:17:16.079Z (10 months ago)
- Topics: api, express, javascript, mongodb, mongodb-atlas, nodejs, restful-api, vehicle
- Language: JavaScript
- Homepage: https://vehicle-reservation-api.herokuapp.com/
- Size: 113 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# vehicle-reservation-api
Vehicle Reservation API is a custom built REST API for the [Vehicle Reservation App](https://github.com/wuletawwonte/vehicle-reservation-app.git). It is built using Express, NodeJS and MongoDb. The API uses `POST` and `GET` requests to communicate and HTTP [response codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) to indenticate status and errors. All responses come in standard JSON.
## Response Codes
### Response Codes
```
200: Success
400: Bad request
401: Unauthorized
404: Cannot be found
405: Method not allowed
422: Unprocessable Entity
50X: Server Error
```
### Error Codes Details
```
100: Bad Request
110: Unauthorized
120: User Authenticaion Invalid
130: Parameter Error
140: Item Missing
150: Conflict
160: Server Error
```
### Example Error Message
```json
http code 404
{
"error": {
"message": "Endpoint Not found"
}
}
```## Author
👤 **Wuletaw Wonte**
- GitHub: [@wuletawwonte](https://github.com/wuletawwonte)
- Twitter: [@wuletaww](https://twitter.com/wuletaww)
- LinkedIn: [LinkedIn](https://linkedin.com/in/wuletaw-wonte)## 📝 License
This project is **[MIT](./LICENSE.md)** licensed.