Application for publishing recipes. Users can follow authors, create a list of favorites and create a shopping list. The project runs in Docker containers. Web server - Nginx.
Feel free to install and explore this project.
If you want to get deep into code, you should clone repo. Run this command:
git clone git@github.com:ImreTot/foodgram-project-react.git
We recommend you to run frontend and nginx into docker containers.
In this case execute next command. Be sure you are in dir /infra
:
docker compose up
However, you can run only backend by django server.
At first, create in backend/
directory virtual environment.
We use
Python3.11
python3.11 -m venv .venv
Then install requirements:
pip install -r requirements.txt
Another option is to run whole project using only docker features.
In that case you need only docker-compose.production.yml
.
Don't forget about creating .env
file in the same directory.
Here is the variables list:
- DJANGO_SECRET_KEY
- DJANGO_ALLOWED_HOSTS
- CSRF_TRUSTED_ORIGINS
- DEBUG
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- DB_HOST
- DB_PORT
In the project root in the folder docs
there is documentation with a detailed description of all endpoints. Also you can import api specification in Postman or another API platform for building and using APIs.
- add indexes for models
- optimize queries
I'm Roman Kiyashko, python developer from south russian city.
Also, I'm a journalist.
Technology, science, education, music and extreme sports - these are the four foundations of my productive work.
You can contact with me by one of this ways:
- Telegram: https://t.me/MDPaul
- Email - kiiashko.r@gmail.com
- Facebook - https://www.facebook.com/kiiashko.r/
MIT
Free Software, Hell Yeah!