Fully functional web application written in Java, JavaScript, and Python to facilitate all the features associated with Twitter, containerized with docker and orchestrated with Kubernetes
This project aims to mimic all the features of Twitter such as following, liking, commenting, retweeting, posting, and so much more. This app was built using microservices architecture, and as such consists of a variety of different services to facilitate each individual feature. These services include:
- Retweet-Service
- Social-Service
- User-Service
- Search-Service
- Tweet-Service
Ensure that you have the following installed:
- Minikube
- PostgreSQL
- Git
- Clone the reposistory
git clone https://github.com/WhyNaught/MicroTwitter.git
cd microtweets - Create a new PSQL database
psql -U postgres -c "CREATE DATABASE microtweets;"- Initialize your new database
psql -U your_username -d your_database -f init.sql- Deploy app using minikube
cd k8s
kubectl apply -f ./deployments/*
kubectl apply -f ./services/*- Check if pods have started
kubectl get pods - Access frontend with your browser