/ Home
Microservices Training
Friendship Meter:
-
Simple python
-
Convert to Method
-
Convert to Flask - Monolithic
-
Keep the business separate
-
Keep UI
-
GET, POST methods separate methods
-
Dockerize the monolithic (no microservices) a. Dockerfile b. docker-compose
-
Frontend, Backend separated
-
Use API Consumer in FrontEnd
-
Improve API Consumer with Class standards
-
Introduce Microservice with deployment folder
-
Keep .env and use them in docker-compose
- Dump Friendship Meter in .json in Backend
{ "yourname_friendname" : 89 } -
Dump into MongoDB and keep a handler file to deal with MongoDB
- Document all of your learning