This is a simple car rental system developed using Django and Django REST Framework. The system allows customers to view available cars, make reservations, and manage their bookings.
- View all available cars
- View details of a specific car
- Make a car reservation
- View all reservations
- View details of a specific reservation
- Edit reservation details
- Cancel a reservation
-
Clone the repository:
git clone https://github.com/your-username/car-rental-git
-
Navigate to the project directory:
cd car-rental
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Create a superuser (for admin access):
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Access the application at
http://localhost:8000/
- Access the API documentation at
http://localhost:8000/
for detailed information on available endpoints and how to use them.
If you'd like to contribute to this project, please follow the Contributing Guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.