This is an assignment based project whose details are given below
Create a REST based backend for a recipe management app using Django 2 and Python 3. User stories for the app are as follows:
- New members should be able to register to the app.
- Members should be able to login to the app.
- Members should be able to change their passwords.
- Members should be able to add a new recipe. (Recipe should contain title, brief description, stepwise directions, and ingredients)
- Members should be able to view all the recipes they have created.
- Members should be able to follow other members.
- Members should be able to view recipes of other members they are following.
- Members should be able to edit their profile.
- Members should be able to update or remove their recipes.
# How to run the Project
Checkout the project.
Open the terminal and set path of project root.
Run the following commands in sequence
vagrant up
// once the virtual box is all set, set the following command
vagrant ssh
cd /vagrant
mkvirtualenv recipe_management
workon recipe_management
pip install django==1.11
pip install djangorestframework==3.6.2
mkdir src
cd src
django-admin.py startproject recipe_management_project
cd recipe_management_project/
python manage.py startapp recipe_management_api
python manage.py migrate
python manage.py makemigrations
python manage.py runserver 0.0.0.0:8080
http://0.0.0.0:1234/ (Hit this url in browser)