/microservices-101

File Upload Service built using the concept of microservices

Primary LanguageHTML

File Upload Service

A fileupload-as-a-service that uses microservices to run built as a part of Cloud-Computing course.

To deploy as docker-compose:

  • Create a file secrets/vars.env with your mongo password and email creds
  • docker-compose up

To deploy as kubernetes in gcp:


Tech-Stack Used:

  • Golang
  • Python
  • Nginx(LoadBalancing and ProxyPass)
  • HTML and Vannila JS
  • MongoDB

MicroServices present:

  • Login
    • Golang
    • Checks users presence and sets JWT-Token for authentication
  • Registration
    • Golang
    • Registers a new user
  • Mailer
    • Python3
    • Sends mail to user on successful registration
  • FileManager
    • Golang
    • Upload, Delete, Download, Get status of files of current user
    • The details of current user is gathereed from the JWT-Token set during login
  • Nginx
    • Handles sending requests to appropriate containers
    • Display frontend