Feastnow is an e-commerce platform for ordering food online, built using Django. This application allows users to browse, order food , manage their orders, and update their profiles.
- User Authentication (Login/Signup)
- Browse Dishes
- Add to Cart and Checkout
- Order History Management
- User Profile with Profile Picture
- Admin Panel for Managing Orders, Dishes, and Feedback
- Python 3.x
- Django
- Virtualenv
Follow these steps to set up the project locally.
git clone https://github.com/RaghavOG/Feastnow.git
cd Feastnow
Using virtualenv
is a good practice to manage dependencies and avoid conflicts.
pip install virtualenv
For macOS/Linux:
virtualenv venv
source venv/bin/activate
For Windows:
virtualenv venv
venv\Scripts\activate
Once the virtual environment is active, install the required dependencies using pip
:
pip install -r requirements.txt
Run the following command to apply migrations and set up the database:
python manage.py migrate
To access the admin dashboard, you'll need a superuser account:
python manage.py createsuperuser
Follow the prompts to create a username, email, and password.
Start the Django development server:
python manage.py runserver
You can now access the application at http://127.0.0.1:8000
.
The admin panel allows the administrator to manage customers, orders, dishes, and feedback. To log in as an admin, use superuser to make admin credentials :
- Admin login:
http://127.0.0.1:8000/adminlogin
Admins can:
- View and manage customer orders
- Add new dishes
- View feedback from customers
Users can view and update their profile information, including:
- Changing profile picture
- Updating personal details
- Navigate to the homepage to browse available restaurants and food items.
- Add items to your cart, proceed to checkout, and manage orders.
- Admins can log in to
/adminlogin
for managing orders and content.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.