• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    Python
  • Created about 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sample Python(Flask) web application with Clean Architecture.

Python Clean Architecture Example

This project is a sample Python web application adapting Clean Architecture. By using typing module, development experience similar to static type language is achieved.

Dependency injection and Dependency inversion principle, which are the representative features in Clean Architecture, can be implemented without difficulties.

In order to experience the separation of concerning and improvement of testability by Clean Architecture along with the high productivity by Python language, I've published this sample project.

Also in tests directory, there are some test samples with partial mock. If you are interested, please take a look it.

How to run

$ pip install -r requirements/requirements
$ python -m flask run

Then open http://localhost:5000 in your browser.