Project consists of three microservices namely:
- User Microservice
- Course Microservice
- Enrollment Microservice
User Microservice helps in registering a user into the application. It then helps the user to login into his account and have a separate session for themselves. This microservice has an independent database(in this case MongoDB Database) which is responsible for keeping the user credentials only. The password that is stored in the database is encrptyed and hence ensures the security of the users registering on the web-app.
Courses Microservice helps a logged in user to enroll into a particular course. The logged in user can then learn at their own pace from the enrolled courses. A unique feature that this web-app has is that, any user is allowed to upload their own courses unlike traditional educational web applications. Any user can upload their content for other users to learn from.
Enrollment Microservice will basically transfer the api request to a third party payment service and that will take care of all the payments made by the user and accordingly help in enabling the access for the particular course for the user.
- Clone this repository.
- Ensure that you have the ".env" file in your codebase. Update the contents in the env file to include your razorpay KeyID and SECRET_KEY
- Enter Cloudinary URL for your project by editing js --> script.js --> <CLOUDINARY_URL>
- Install Docker and start.
- Use the terminal and write the following command.
docker-compose up --build --remove-orphans
- Navigate to http://localhost:5000 to find the website up and running.
Live website URL: http://129.213.124.99:5000/
Cloud Platform: Oracle Cloud Infrastructure
Short Video: https://drive.google.com/file/d/1EyQW0__Sejbi9oNpoaK35RzRsOZPD8WG/view?usp=sharing
- Create Oracle Cloud account, using the free tier subscription(if required).
- Create Virtual Cloud Network (VCN).
- Configure the default security list for the VCN by adding Ingress rules for ports 22, 80. Add the ports which you will use for the project. For instance, in this project we have ports 5000, 5001, 7000, 30002.
- Create and connect to the Cloud Instance.
ssh opc@<PUBLIC_IP>
- Install git, docker and docker-compose on the cloud instance terminal.
- Clone this repository and run
docker-compose up --build -d
- Set up the firewall using the following commands:
sudo firewall-cmd --permanent --zone=public --add-service=http
sudo firewall-cmd --permanent --zone=public --add-port=5000/tcp <ALL REQUIRED PORTS>
sudo firewall-cmd --reload
- Go to your public IP:port! Voila! Your website is deployed on cloud! :)
Paper published in IEEE Xplore on 31st January, 2022.
Paper link: https://ieeexplore.ieee.org/document/9686535
- This application allows any user to upload his course so that others can learn from the same course. (User perspective)
- This application uses Microservices architecture which makes it scalable, reliant and robust as compared to Monolithic architectured applications. (Technology perspective)
- Let peers connect one-on-one, network, learn and grow together, by integrating a chat service (allowing only registered users to see other users, and hiding identity details, unless the user wants otherwise).
- Ability for the instructors to create quizes for easy evaluation.
- Can add some analytics monitoring system for the course uploader.
- Recommendation Service.
- New Course Notification Service.
- Independent of other microservices.
- If one service goes down, it does not affect other services.
- Scaling of the services.
- Efficient.
- Portablity.