The children have been working hard this month ! But I spent most of my time learning the knowledge of basic subjects , I like the new and hate the old ! Can not always watch video learning , Always practice , Do something that interests you ;
I wrote an article about the development and release of the front end , Now that the front-end is done , So how to develop and design back-end microservices , This is a question worthy of consideration , Of course, this is a design based on my existing cognition , No discussion with others , But do we all learn from each other in the realization of Technology ? No shame , Ha ha ha ha
Web API There is always a frame API Documentation goes with it , At present, the most famous thing is to support Open API Of Swagger 了 .
Python Of Flask Framework support Swagger UI There are also several ways
Flasgger Reference examples : https://github.com/flasgger/flasgger/tree/master/examples
Project address :https://github.com/vpc123/flask-swagger.git
Directory structure :
Main function entry (app.py):