Giter Site home page Giter Site logo

foodgram-project-react's Introduction

Проект FoodGram Recipe Это блог для обмена рецептами разными поварами и любителями готовки. На сайте люди могут зарегистрироваться и быть полноценной частью проекта. Пользователи смогут подписываться на друг друга, обмениваться рецептами, добавлять рецепты в избранное, а также добавлять любимые рецепты в список покупок.

Технологии и инструменты, использованные в разработке этого проекта: Python Django Rest Framework Docker Nginx Postgres GitHub DockerHub Postman

Клонировать репозиторий и перейти в папку backend:

  1. git clone [email protected]:YanSv15/foodgram-project-react.git
  2. cd backend/foodgram Создать и активировать виртуальное окружение:
  3. python -m venv venv
  4. source venv/bin/activate Установить зависимости из файла requirements.txt:
  5. pip install -r requirements.txt Выполнить миграции:
  6. python manage.py migrate Загрузить ингридиенты из csv-файла:
  7. python manage.py loaddata dump.json

Заполнение .env файла: SECRET_KEY DB_ENGINE=django.db.backends.postgresql DB_NAME=postgres POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres DB_HOST=db DB_PORT=5432

https://foodgram-recipe.ddns.net/recipes

Данные для входа в Админ-зону:

Почта: [email protected]

Пароль: Sviridovix98!

foodgram-project-react's People

Contributors

yansv15 avatar

Watchers

 avatar

foodgram-project-react's Issues

Фикс стилей отображения переноса текста рецепта.

Теперь при публикации рецепта авторские переносы в тексте отображаются при публикации и не сливаются в один монолитный текст. Добавлены стили в frontend/src/pages/single-card/description/styles.module.css и применены в frontend/src/pages/single-card/description/index.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.