A Django-based web application that allows users to manage recipes, reviews, and categories. Users can register, log in, add, edit, and delete recipes, as well as reset passwords.
- User authentication (register, login, logout)
- Password reset functionality
- Profile management
- Add, update, delete, and view recipes
- Add, update, delete, and view categories
- Add reviews to recipes
- Manage categories (add, update, delete)
- Responsive design for user-friendly navigation
Below are some screenshots of the Recipe App:
recipe_app/
├── media/ # Media files (profile pictures, recipes)
├── recipe_app/ # Core app folder
│ ├── __init__.py
│ ├── asgi.py
│ ├── settings.py # Django settings
│ ├── urls.py # Core URL configurations
│ ├── wsgi.py
├── recipes/ # Recipes app
│ ├── migrations/ # Database migrations
│ ├── templates/ # HTML templates
│ ├── admin.py
│ ├── apps.py
│ ├── forms.py # Form validations
│ ├── models.py # Database models
│ ├── tests.py
│ ├── urls.py # Recipes app URLs
│ ├── views.py # Recipes app views
├── db.sqlite3 # SQLite database
├── manage.py # Django manage script
- Python 3.7+
- Django 4.0+
- Pip for managing Python packages
- SQLite (comes by default with Python)
-
Clone the repository:
git clone https://github.com/imunreal7/recipe-app.git cd recipe-app
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the app in your browser at
http://127.0.0.1:8000
.
- Register as a user and log in.
- Navigate to the homepage to view or manage recipes.
- Add, edit, or delete recipes and categories.
- Reset your password if needed.
Here are the main URLs for the application:
/register/
- User registration/login/
- User login/logout/
- User logout/profile/
- View user profile/profile/edit/
- Edit profile/add/
- Add a new recipe/update/<int:pk>/
- Update a recipe/delete/<int:pk>/
- Delete a recipe/recipe/<int:id>/
- Recipe details/recipe/<int:id>/add-review/
- Add a review/password-reset/
- Reset password/add-category/
- Add a category/categories/
- View categories/categories/<int:category_id>/update/
- Update a category/categories/<int:category_id>/delete/
- Delete a category
Contributions are welcome! Please open an issue or submit a pull request for any improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
Aman Dubey