Skip to content

DamianMcNulty/project4recipes

Repository files navigation

Recipe Manager

GitHub stars CircleCI

Goal

To create a Cook book using a python and flask web application

Table of Contents

Description

(Back to top)

UX

(Back to top)

User Stories

  1. As a user, I can input a new ingredient, add it to the database and delete it.
  2. As a user, I can input a new category, add it to the database and delete it.
  3. As a user, I can input a new recipe, add it to the database and delete it.
  4. As a user, I can filter a list of recipes by meal.
  5. As a user, I can view detailed info about each recipe

Technologies Used

  1. HTML5

  2. CSS3

  3. Git

  4. Github

  5. Online Converter

  6. Site24x7 Link Checker

  7. HTML5 Validator

  8. CSS3 Validator

  9. Axe

  10. Python 3.7.2

Development Environment

(Back to top)

install

pip install flask pymongo Flask-PyMongo
pip3 freeze --local > requirements.txt

windows

setx /m DEVELOPMENT True
setx /m SECRET_KEY "..."
setx /m MONGO_DBNAME "..."
setx /m MONGO_URI '...'
pip install virtualenv
python -m virtualenv env
.\env\Scripts\activate
pip install -r requirements.txt
python runserver.py
.\env\Scripts\deactivate

Local Testing

(Back to top)

npm i
python runserver.py
npm run cy:open

python test.py

Research

(Back to top)

Credits

(Back to top)

License:

See LICENSE.