An open API service indexing awesome lists of open source software.

https://github.com/yes20sh/recipes-django-app

Recipe Manager is a Django-based web application that allows users to create, update, and manage their favorite recipes. Users can easily add new recipes, edit existing ones, and view a collection of recipes in a user-friendly interface.
https://github.com/yes20sh/recipes-django-app

crud-operation django python sqlite

Last synced: 3 months ago
JSON representation

Recipe Manager is a Django-based web application that allows users to create, update, and manage their favorite recipes. Users can easily add new recipes, edit existing ones, and view a collection of recipes in a user-friendly interface.

Awesome Lists containing this project

README

          

# Project Title: Recipe Manager

## Description

Recipe Manager is a Django-based web application that allows users to create, update, and manage their favorite recipes. Users can easily add new recipes, edit existing ones, and view a collection of recipes in a user-friendly interface.

## Features

- User authentication and authorization
- Create, read, update, and delete (CRUD) operations for recipes
- User-friendly interface for managing recipes
- Static and media file handling for images and other assets

## Installation Instructions

1. **Clone the repository**:
```bash
git clone
cd core
```

2. **Set up a virtual environment** (optional but recommended):
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```

3. **Install the required packages**:
```bash
pip install -r requirements.txt
```

4. **Run database migrations**:
```bash
python manage.py migrate
```

5. **Create a superuser** (optional, for accessing the admin panel):
```bash
python manage.py createsuperuser
```

## Usage Instructions

To run the project, use the following command:
```bash
python manage.py runserver
```
Then, open your web browser and navigate to `http://127.0.0.1:8000/` to access the application.

### Accessing the Admin Panel
To access the admin panel, navigate to `http://127.0.0.1:8000/admin/` and log in with the superuser credentials you created.

## Directory Structure

```
core/
├── core/
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── recipes/
│ ├── migrations/
│ ├── templates/
│ └── views.py
├── manage.py
└── requirements.txt
```

## Contributing Guidelines

If you would like to contribute to this project, please fork the repository and submit a pull request. Ensure that your code adheres to the project's coding standards and includes appropriate tests.

## License

This project is licensed under the MIT License.

## Additional Information

### Testing

To run tests for the application, use the following command:
```bash
python manage.py test
```

### Environment Variables

Make sure to set the following environment variables for production:
- `SECRET_KEY`: Your secret key for the Django application.
- `DEBUG`: Set to `False` in production.

### Deployment

For deployment, consider using platforms like Heroku, AWS, or DigitalOcean. Follow their respective documentation for deploying Django applications.

### Support

For any issues or questions, please open an issue in the repository or contact the project maintainers.

### Author

Yashraj Singh Solanki