creating my own microservices and deploying using Docker Compose.
- 1. Introduction to Microservices
- 1.1 Benefits of Microservice
- 1.2 Drawbacks of Microservice
- 1.3 Why Microservice in Python
- 2. Introduction to FastAPI
- 2.1 Why FastAPI
- 2.2 Installing FastAPI
- 2.3 Creating Simple REST API using FastAPI
- 2.4 Using PostgreSQL Database with FastAPI
- 3. Microservice Data Management Patterns
- 3.1 Database Per Service
- 3.2 Shared Database
- 3.3 API Composition
- 4. Creating a Python Microservice in Docker
- 4.1 Installing Docker and Docker Compose
- 4.2 Creating Movies Service
- 4.3 Creating Casts Service
- 4.4 Running the microservice using Docker Compose
- 4.5 Using Nginx to Access Both Services using a Single Host Address
- 5. Conclusion and Next Step