alexzaitsev / recipe-api

Extended Recipe API (tags, ingredients, recipes, images, authorization) on Django REST Framework using Docker, CI and Test Driven Development approach

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project description

This is an extended Recipe API.
It allows to register new users, authenticate them using token generation, retrieve or update user details.
User can operate tags, ingredients, recipes, images.
All these components allow creating a comprehensive front-end for the API. This can be a recipe website or mobile application.

Technical details

Website is built on the Django 2.2 and Django REST Framework.
The database is Postgres.
The application uses Docker and Travis-CI for automatic unit testing after each commit.

Project is covered with unit tests. For local API testing, I use Postman.
Also, the project is configured with Swagger.

Endpoints

swagger

User

Default Django User model is customized to the user can log in using email and password instead of username and password. That is mirrored in admin panel as well.

Filtering

Tags, ingredients, and recipes can be filtered using GET query params.

About

Extended Recipe API (tags, ingredients, recipes, images, authorization) on Django REST Framework using Docker, CI and Test Driven Development approach


Languages

Language:Python 98.9%Language:Dockerfile 1.1%