recipes is a short description. It is built with Python using the Django Web Framework.
This project has the following basic apps:
- Recipe APIs - http://localhost:8000/apis/recipes/
To set up a development environment quickly, first install Python 3. It comes with virtualenv built-in. So create a virtual env by:
1. `$ python3 -m venv recipes`
2. `$ . recipes/bin/activate`
Install all dependencies:
pip install -r requirements.txt
Run migrations:
python manage.py migrate
Take a look at the docs for more information.
APIs
GET /apis/recipes/
Will list all the recipes in the database.
POST /apis/recipes/
Request Body
{
"title": "",
"ingredient": [],
"preparation": "",
"time_for_preparation": null,
"number_of_portions": null,
"difficulty": null,
"categories": [],
"comment": []
}
GET /apis/recipes/{slug}
Will get the particular item.