This repository is an example of a good coding practice for several reasons.
- It adheres to Clean Architecture, and in result SOLID. โค
- It has tests all over the place. ๐
- TODO: It has CI/CD integrated. ๐
- It uses ORM which is optimized with the help of dozens of awesome developers. ๐
- It uses different environments for deploying (e.g. dev, prod, test). ๐ถ
- It was written by a cool developer. Just kidding. Or am I? ยฉยฎ๐
- It has README for lord's sake. โ
The full story is explained right here. Check it out for the explanation.
Also shout out to the best guys out there for sharing their knowledge with the rest of us. โข
There are proper tests in place to check the integrity of the app. In order to run the
automation tests, simply install and run tox
.
If you're interested in seeing the app live in action, run the following command in your terminal:
docker run --rm -p 8000:8000 ghcr.io/meysam81/sampleapp
And then, here are the URIs you can interact with the app:
URI | Methods |
---|---|
/api/v1/books |
GET , POST |
/api/v1/books/<int:book_id> |
GET , PATCH , DELETE |