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
This is a NoSQL database server for storing user data from login and registration. Also users post data in the mongodb server.
Starts the mongodb service
Shows the current status of mongodb service
Database server for object storage. Used for storing images form the application.
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.