The Recipes social network project:
- Create and manage recipes
- View recipes of users
- Add recipes of users in Favorites and Cart
- Subscribe to other users
- Download the list of ingredients for the recipes
Containers: db, frontend, backend, nginx
Docker and Docker Compose need to be installed
Database: PostgreSQL
.env:
DB_ENGINE=django.db.backends.postgresql
DB_NAME=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DB_HOST=db
DB_PORT=5432
GIT Clone:
SSH: git clone git@github.com:zakharovvladimir/foodgram-project-react.git
requirements.txt install:
python3 -m pip install --upgrade pip
pip install -r requirements.txt
./infra/:
docker-compose up -d --build
DB migrations:
docker-compose exec backend python manage.py migrate
Superuser:
docker-compose exec backend python manage.py createsuperuser
Static:
docker-compose exec backend python manage.py collectstatic --no-input
Ingredients import:
docker-compose exec backend python manage.py import
Technology Stack: Python 3.9, Django, Django Rest Framework, PostgreSQL, React, Docker, nginx, gunicorn, Djoser
Vladimir Zakharov vladimir.zakharov.s@yandex.ru