- Web - nodejs app serving webpage, used to interact with products and users API
- Users - nodejs server connected to mongo db
- Products - nodejs server connected to mysql db
- Mysql db
- Mongo db
- Nginx - load balancer
- network01 - Users + Mongo db containers
- network02 - Products + MySql db containers
- Create and read operations on Users and products using their Rest APIs
- Web serves client page at '/' for basic demonstration
- intermicroservice communication not included for simplicity
docker-compose up
- access
- Web: http://localhost:80/
- Products API: http://localhost:80/products (create product, list products)
- Users API: http://localhost:80/users (create user, list users)