A simple microservice developed with Python using Flask, connexion, MongoDB, Injection and Angular 4 as front-end.
This project is fully developed using Microservice Pattern.
Simply run docker-compose up --build
in the directory containing docker-compose.yml
.
The server dealing with the TODO list is developed using:
- Flask (as the web library);
- connextion (to generate routes and Swagger docs);
- MongoDB (as the data source).
See here.
We generated routes and Swagger docs using connexion. The full swagger specification can be found here.
We used a Repository Pattern to manage data source and dependency injection using injector, so you can easily change the db, without chaning uppermost layers (e.g. business layer).
The client gives you the opportunity to manage the TODO list, and interacts with the TODO server. It is developed using Angular 4.
We generated the app skeleton with angular-cli.
See here.