Welcome to the Car Dealer project! This is a fully functional web application designed for a car dealership, allowing users to browse and search for vehicles online. The website also provides admin functionalities to manage inventory and customer inquiries.
-
User Interface:
- Responsive design that works on all devices.
- Search and filter cars based on make, model, price, and other criteria.
- View detailed information about each car.
- Contact forms for inquiries.
- User accounts for managing personal data.
-
Admin Interface:
- Inventory management (add, edit, delete cars).
- Manage customer inquiries.
- User management (add, edit, delete users).
-
Security:
- User authentication and authorization.
- Data validation and sanitization.
-
Frontend:
- HTML, CSS, JavaScript
- jQuery for dynamic interactions
- Bootstrap for responsive design
-
Backend:
- Python with Django
- MySQLite for the database
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/SiddheshDalvi07/cardealer.git cd cardealer
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables: Create a
.env
file in the root directory and add the necessary environment variables (database credentials, etc.). -
Run the application:
python manage.py runserver
-
Access the application: Open your browser and go to
http://127.0.0.1:8000/
.
- Browse Cars: Navigate to the homepage to view the available cars. Use the search and filter options to narrow down your choices.
- Car Details: Click on any car to view more details, including specifications, price, and available colors.
- Contact Sales: Use the contact form on the car details page to inquire about purchasing or schedule a test drive.
- User Account: Sign up or log in to manage your profile and personal data.
- Login: Access the admin dashboard by logging in with your credentials.
- Manage Inventory: Use the inventory section to add, edit, or delete car listings.
- Inquiries: View and manage customer inquiries from the inquiries section.
- User Management: Add or manage users with different roles (admin, sales, etc.).
- Database Configuration:
Set up your database credentials in the
.env
file. For example:DB_HOST=localhost DB_USER=root DB_PASS=password DB_NAME=cardealer
Contributions are welcome! Please follow the steps below:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.