Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 2 KB

README.md

File metadata and controls

88 lines (62 loc) · 2 KB
Screenshot 2024-05-20 at 11 43 04 PM

UNIGRAM

A closed platform for college students to share their thoughts, ideas, and projects. It includes features such as User Authentication, Real-time chats, posts and a Admin Dashboard for managing posts and channels.

Users

unigram-users.mov

Admin

unigram-admin.mov

Installation Guide

Requirements

Both should be installed and make sure mongodb is running.

Installation

Fork this repo : https://github.com/Vijaykv5/Unigram

First Method

git clone https://github.com/your-user-name/Unigram
cd Unigram

Now Create an env file .env for your Mongodb String

cd server
export MONGODB_URL="<Your-MongoDb-String>"
cd ..

Now install the dependencies

cd client
npm install
cd ..
cd server
npm install

We are almost done, Now just start the development server.

For Frontend.

cd client
npm start

For Backend.

Open another terminal in folder, Also make sure mongodb is running in background.

cd server
npm start

Done! Now open localhost:5173 in your browser.
You can see your frontend running sucessfully!

Second Method

  • This method requires docker and docker-compose to be installed in your system.
  • Make sure you are in the root of your project and run the following command.
docker compose build --no-cache

after the build is complete run the containers using the following command

docker compose up

now open localhost:5173 in your browser.

Contributions are welcome!

Please create and work over the issues if you would love to contribute to this project.

Happy coding ⭐