asyncio
based application providing basic "url shortener" functionality.
Using docker container.
$ cd docker
$ docker-compose up app
Swagger UI.
Open url in a web browser http://localhost:8008/api/doc
Unit and integration ones.
$ cd docker
$ docker-compose run app py.test tests
$ cd docker
$ docker-compose run app bash
$ cd docker
$ docker exec -it aiohttp-demo-mongodb bash
# mongo -uroot -ptoor
What is missing.
- better password security
- session storage with encryption
- application usage stats
- better unit tests coverage
- refactoring in certain places (like i.e. list pagination)
- depencency injection container
- performance optimization
- automated functional tests