A simple web application that stores your favourite recipes. This demo application uses Python, Flask and MongoDB and can be used as a framework to study application development and automation!
This repository contains the RecipeBook application in the app/
directory. To run this application you need the following requirements installed:
- Python3.9 or above
- Pipenv to install and manage python requirements
- MongoDB running in your system and listening on its default port
27017
You can run the RecipeBook application with GNU Make or by manually running python commands.
If you already have GNU Make installed in your system, you can run the application by typing make all
from the project's root.
cd recipebook/
make all
This project uses Pipenv to install and manage python requirements. To run the application use pipenv to create a new Python virtual environment with pipenv install
:
cd recipebook/
pipenv install
After Pipenv has finished installing requirements, run the Flask application in the new virtual environment with pipenv run
:
cd recipebook/
pipenv run flask run