git clone https://github.com/mahadi025/recipe-app
docker-compose build
docker-compose run --rm api sh -c "python manage.py createsuperuser"
docker-compose run --rm api sh -c "python manage.py makemigrations"
docker-compose run --rm api sh -c "python manage.py test"
docker-compose up
5. Go tp the top of the page and click "Authorize". On tokenAuth section type "Token" then your token from the previous step.
- Example : Token c19656fcf760b70ce2dc101ab285a55737a0fbe1
- You don't need to authorize to view the recipes. But if you need to edit or create a recipe then you need to authorize with the same user that created the recipe.
docker pull mahadi025/recipe-app-api