This is a scaled microservice for an open-source video player and Tomatometer rating component for the recreation of the Rotten Tomatoes website.
This project was developed to gain a fundemental understanding of microservice system design.
At least 5 Amazon EC2 instances with static ip addresses is preferred for the deployment of this service. 1 for the load balancer, 1 for the database server, and 3 or more for microservice instances.
Include logo/demo screenshot etc.
To start load balancer
- Use DockerFile to build image. In Nginx directory, run
docker build -t loadbalancer .
- To create containers with port forwarding and detached-mode, run
docker run -p 80:80 -d loadbalancer
To start web service
- Use docker-compose.yml to build the containers for the project. Within the MainCard-Component directory, run
docker-compose up
to run in detached-mode, run
docker-compose up -d
To start database
Within MainCard-Component directory:
npm install
npm start
- React
- NodeJs/Express
- PostgreSQL
- NGINX
- Redis
- Docker
- AWS EC2 (Optional)
- Artillery
- Loader.io
Moe Mosaad
This project is licensed under the MIT License - see the LICENSE.md file for details
- Nick Bisignano (a good friend)
- Inspiration - the quest to build the best systems possible
MIT © Moe Mosaad