Work in progress, contributions are appreciated!
Pastaverse is an evolving restaurant web application, meticulously built with Django to provide a full-stack web experience. My primary focus is on fostering modularity and code reuse to create a scalable and efficient dining experience. Each component is designed as a standalone app, promoting easy integration and adaptability for future projects.
Explore a seamless dining experience with features like menu management, online ordering, reservations, and more.
- Core App (core):
- Menu App (menu):
- Utilizes Django models and templates to handle menu items, categories, and pricing in a flexible and efficient manner.
- Ordering App (ordering):
- Leverages Django Rest Framework for the creation, cart management, and streamlined checkout process, ensuring a smooth ordering experience.
- Reservation App (reservation):
- Integrates Django's powerful features to manage table reservations and availability seamlessly.
- Review and Rating App (reviews):
- Implements Django Rest Framework serializers and views for a dynamic customer review and rating system.
- Location App (location):
- User Profile App (user_profile):
- Built on the Django framework for a robust and maintainable codebase.
- Seamless integration of Django's ORM for efficient database interactions.
- Framework: Django
- Database: MySQL, or SQLite for a quick view of the app's features
- If you want to use the MySQL database, compile the 'DATABASE' section inside the 'setting.py' file in the 'pastaverse' folder, as follow:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'your database name',
'HOST': '127.0.0.1',
'PORT': '3306',
'USER': 'your mysql username',
'PASSWORD': 'your mysql password',
}
}
replacing name, user and password with your credentials.
- Clone the repository to your local machine.
- Set up a virtual environment and install dependencies writing the following commands in your Command Terminal. Pipenv take care of all the dependecies automatically, but make sure you have python 3.10 installed:
- Install pipenv: pip3 install pipenv
- Run the virtual environment: pipenv shell
- Install the dependencies: pipenv install
- Run the migrations: python manage.py migrate
- Run the server: python manage.py runserver
- Explore the website at 127.0.0.1:8000
Contributions are welcome! Fork the repository, create a new branch, make your enhancements, and submit a pull request. Let's collaboratively enhance Pastaverse!