A comprehensive Car Rental System where users can rent cars, manage their rentals, and handle car availability.
📘 Postman Documentation: https://documenter.getpostman.com/view/32279973/2sA3XY7yb5
- Users can rent cars and ensure that they cannot be rented again until they are returned.
- Different API endpoints to handle users, cars, and rentals efficiently.
- Special API endpoints to filter cars based on various criteria.
- name: String
- password: String
- email: String
- phone: String
- name: String
- model: String
- rental status: String (available/rented)
- car_id: Reference to Car Model
- user_id: Reference to User Model
- rental date: Date
- return date: Date
- Sign up
- Sign in
- Get a specific user
- Get all users
- Update user (owner access only)
- Delete user (owner access only)
- Add car
- Get a specific car
- Get all cars
- Update a car
- Delete a car
- Create Rental
- Update Rental
- Delete Rental
- Get all Rentals
- Get a specific Rental
- Get all cars with the brand 'Honda' or 'Toyota'
- Get Available Cars of a Specific Brand
- Get Cars that are either Rented or of a Specific Brand
- Get Available Cars of a Specific Brand or Rented Cars of a Specific Brand