Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keda87/quart-clean-architecture

Todo API implemented on Quart using clean architecture
https://github.com/keda87/quart-clean-architecture

architecture asyncio clean-architecture hypercorn libuv postgresql python python3 quart sql

Last synced: about 1 month ago
JSON representation

Todo API implemented on Quart using clean architecture

Awesome Lists containing this project

README

        

# Quart Clean Architecture
Todo API implemented on [Quart](https://pgjones.gitlab.io/quart/) using clean architecture.

##### Prerequisite.
- Python 3.7
- PostgreSQL
- Docker

##### Run the project.
Ensure postgresql is started and create the database.
```bash
$ mv .env.example .env # Then update the content with your own.
$ docker-compose up --build # Open in port 5000.
$ docker-compose run api alembic upgrade head # Run db migration.
```

#### TODO:

- [x] Web API.
- [ ] Validate and sanitize request payload.
- [ ] API Documentation.
- [ ] Unit/Integration test.