- Requirements
- Stack
- Setup and init API
- Run Tests
- Authentication and Authorization
- Documentation
- Contribuiting
- Author
- License
- 🐳 docker
- 🐙 docker-compose
- 🐳 Docker
- 🐙 Docker Compose
- 🐍 Python 3
- 🐬 MySQL 8.0
- 🚀 Django
- 🎁 Django REST Framework
$ cp .env.example .env # you can edit if necessary
$ docker-compose up
$ ./scripts/tests.sh run
$ ./scripts/tests.sh coverage
# After run this command, you can see the tests coverage in htmlcov/ folder
-
This API contains authentication and authorization. A default admin user is created using
.env
credentials, but you can create more users at Django Admin setting their API resource access. -
To authenticate on API, use
/auth/
resource, passing your username and password to retrieve a token.
- To learn how to use the API, open swagger file in Swagger Editor
- To speed up the use of API, use postman requests collection
If you find any problem or have a suggestion, please open an issue.
- Rafael Dias - Software Developer
- This project is licensed under the MIT License - see the LICENSE file for details.