Skip to content

Application for publishing recipes. Users can follow authors, create a list of favorites and create a shopping list.

Notifications You must be signed in to change notification settings

ImreTot/cooking_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cooking servese "Foodgram"

Delicious food without any gram of rubbish

Powered by

N|Python N|Django N|DRF N|PostgreSQL
N|HTML N|CSS N|JavaScript React
N|Docker N|Nginx

Description

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.

Installation

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

API

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.

Development plans

  • add indexes for models
  • optimize queries

About me

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:

License

MIT

Free Software, Hell Yeah!

About

Application for publishing recipes. Users can follow authors, create a list of favorites and create a shopping list.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published