KaziMuktadirAhmed / Distributed-systems-lab

Lab work for distributed systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Social Media App (Demo)

Hello this is the first commit for the distributed systems lab repository

The actual project is inside the Rest-api-practice folder.
Frontend folder contains the frontend code.
Backend folder contains the monolothic backend for the application.
Micorservices folder contains the same backend written in microservice architechture. The system in total has 3 service. A authentication service, story service, status service, each contained in it's own folder.

Databaser server staring commands

Mongodb

This is a NoSQL database server for storing user data from login and registration. Also users post data in the mongodb server.

sudo service mongod start

Starts the mongodb service

sudo service mongod status

Shows the current status of mongodb service

MinIO

Database server for object storage. Used for storing images form the application.

sudo touch minio-storage

Checks if there is a folder named minio-storage in the home directory
If not then creates a folder named minio-storage in home directory.

sudo MINIO_ROOT_USER=minio MINIO_ROOT_PASSWORD=miniostorage minio server minio-storage --console-address ":9001"

Starts the minio loacl server at port 9000.
Set the minio-storage folder name to a diffrent path for changing the local storage directory.
Set the console-address to diffrent port no to host the server in a diffrent port.

About

Lab work for distributed systems


Languages

Language:JavaScript 77.3%Language:CSS 15.5%Language:Shell 3.6%Language:Dockerfile 2.3%Language:HTML 1.3%