Skip to content

decadence127/cloud-disk-monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-disk-monorepo

Pet project. Microservice architecture practice.

Container orchestration: Kubernetes/Docker compose

Backend Stack: NodeJS, Express, Typescript, RabbitMQ, Docker.

Frontend Stack: ReactJS, RTK-Query, Redux, Typescript, Docker, Nginx

Databases: MongoDb, Redis

Installation and deployment

Install cloud-disk-app with docker-compose

  docker-compose up -d --build
  docker-compose up

Also deployment is available via local Kubernetes cluster (minikube)

  1. Build all docker images
  cd cloud-disk-monorepo/microservices_workspace/auth_service
  docker build -t <image_name> .

Optional: To check whether some images are broken or not after setting them all up we can compose them

  docker-compose up --build
  1. Create Kubernetes recource files and start a local K8s cluster.
  cd cloud-disk-monorepo
  kubectl apply -f ./k8s -R
  minikube start

To open live kubernetes dashboard

 minikube dashboard

Environment Variables

To run this project, you will need to add the following environment variables to each services' .env file

FILE_SERVICE_PORT

AUTH_SERVICE_PORT

About

Microservices architecture practices, NodeJS + React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors