This is a Restaurant Website project built with Django REST framework that provides user authentication and allows users to place orders. The website also features products categorized into different categories, making it easy for users to explore the menu.
- User Authentication: Users can register, login, and manage their accounts.
- Product Categories: Products are organized into different categories for easy navigation.
- Restaurant Information: The website provides relevant information about the restaurant.
- Orders: Any user can make an order for delivery or pickup.
- Swagger API Documentation: The API endpoints are documented using Swagger.
- Django: A powerful web framework for Python.
- Django REST framework: A toolkit to build web APIs with Django.
- Swagger: A tool for API documentation and testing.
- Frontend technologies (e.g., HTML, CSS, JavaScript): For building the user interface.
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/MohamedHamed12/Ecommerce-Restaurant-App.git
- Navigate to the project directory:
cd Ecommerce-Restaurant-App
- Set up a virtual environment (optional but recommended): Use virtualenv or conda.
- Install the project dependencies:
pip install -r requirements.txt
- Apply database migrations:
python manage.py migrate
- Create a superuser to access the Django admin:
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
Once the server is running, you can access the website at http://localhost:8000/
and the Swagger API documentation at http://localhost:8000/swagger/
.
The following API endpoints are available:
Contributions to the project are welcome! If you find any issues or want to add new features, feel free to open a pull request.
This project is licensed under the MIT License.
- Thanks to the Django and Django REST framework communities for their excellent tools and documentation.
- Thanks to the Swagger team for providing an intuitive API documentation solution.
If you have any questions or suggestions, please feel free to contact us