Skip to content

Recipe App is a web-based platform built with Django, allowing users to manage recipes efficiently. Features include user registration, authentication, profile management, recipe creation, updates, reviews, and category management. Tech stack: Django, SQLite, HTML, CSS, Bootstrap. Designed for simplicity and functionality.

Notifications You must be signed in to change notification settings

imunreal7/my-recipes-in-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

be7b062 · Jan 13, 2025

History

3 Commits
Jan 13, 2025
Jan 13, 2025
Jan 13, 2025
Jan 13, 2025
Jan 13, 2025
Jan 13, 2025

Repository files navigation

Recipe App

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.

Features

  • 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

Screenshots

Below are some screenshots of the Recipe App:

Home Page

Home Page

Profile Page

Profile Page

Categories Page

Categories Page

Add Recipe Page

Add Recipe Page

Explore Recipes Page

Explore Recipes Page

Recipe Details Page (View 1)

Recipe Details Page 1

Recipe Details Page (View 2)

Recipe Details Page 2

Login Page

Login Page

Register Page

Register Page

Edit Profile Page

Edit Profile Page

Update Recipe Page (View 1)

Update Recipe Page 1

Update Recipe Page (View 2)

Update Recipe Page 2

Chefs and Newsletter Page

Chefs and Newsletter Page

Project Structure

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

Prerequisites

  • Python 3.7+
  • Django 4.0+
  • Pip for managing Python packages
  • SQLite (comes by default with Python)

Installation

  1. Clone the repository:

    git clone https://github.com/imunreal7/recipe-app.git
    cd recipe-app
  2. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Apply migrations:

    python manage.py migrate
  5. Create a superuser:

    python manage.py createsuperuser
  6. Run the development server:

    python manage.py runserver
  7. Access the app in your browser at http://127.0.0.1:8000.

Usage

  1. Register as a user and log in.
  2. Navigate to the homepage to view or manage recipes.
  3. Add, edit, or delete recipes and categories.
  4. Reset your password if needed.

URLs Overview

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

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Aman Dubey

About

Recipe App is a web-based platform built with Django, allowing users to manage recipes efficiently. Features include user registration, authentication, profile management, recipe creation, updates, reviews, and category management. Tech stack: Django, SQLite, HTML, CSS, Bootstrap. Designed for simplicity and functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published