API Gateway:
A service that provides each client with unified interface to servicesMessaging Publish/Subscriber:
Use asynchronous messaging for inter-service communicationDatabase per Service:
Each service has its own private databaseMultiple Service Instances per Host:
Deploy multiple service instances on a single hostService Component Test:
Test suite that tests a service in isolation using test doubles for any services that it invokesConsumer-Driven Contract Test:
Test suite for a service that is written by the developers of another service that consumes it
- Node
- Typescript
- Kafka
- Docker
- Jest
# First terminal
npm run docker; # Start Kafka
# Second terminal
npm install; # Install dependencies
npm run dev; # Start APIs
# OR JUST
npm run docker:dev; # Start everything on docker