Skip to content

KaziMuktadirAhmed/Distributed-systems-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published