Ecommerce-Restaurant-App

  • Ecommerce Restaurant app image

Restaurant Website

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.

Features

  • 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.

Technologies Used

  • 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.

Getting Started

To set up the project locally, follow these steps:

  1. Clone the repository: git clone https://github.com/MohamedHamed12/Ecommerce-Restaurant-App.git
  2. Navigate to the project directory: cd Ecommerce-Restaurant-App
  3. Set up a virtual environment (optional but recommended): Use virtualenv or conda.
  4. Install the project dependencies: pip install -r requirements.txt
  5. Apply database migrations: python manage.py migrate
  6. Create a superuser to access the Django admin: python manage.py createsuperuser
  7. 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/.

API Endpoints

The following API endpoints are available:

swagger

Contributing

Contributions to the project are welcome! If you find any issues or want to add new features, feel free to open a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

  • 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.

Contact

If you have any questions or suggestions, please feel free to contact us