This is a recipe RESTful API written with Django and Django REST framework based on Test-driven development built over Docker.
This project is a sample app that can be used for other projects.
- Setting up the project with Docker
- Configuration for Travis CI and Coveralls
- Use a fully custom user model instead of the default Django User model
- Endpoints for creating and managing users, tags, ingredients, and recipes
- Filtering to list endpoints
- Image upload for recipes
- Lots of unit tests
To start project, run:
cd <project_dir>
docker-compose build
docker-compose up
The API will be available at http://127.0.0.1:8000
To test project, run:
docker-compose.exe run --rm app sh -c "python manage.py test && flake8"