A full stack social media application similar to facebook or instagram. Built using MERN stack.
- I was trying to build a full stack blogging application similar to medium or DEV.to but in the journey I moved to built it as a social media platform.
- Users can connect with others by making friends similar to what users do on facebook.
- It allows users to create, like, comment on posts, make new friends etc. thus providing a complete social experiance.
-
Before running this application you must have Node Js version 16 or greater installed.
-
Clone this repository in your local machine and then go to server directory by command
cd server
. -
Now run
npm i
to install all the dependencies. -
Now goto the client directory and run the same above command to install dependencies.
-
Inside the
client
directory you should provide the backend server url in.env
file. This would be likehttp://localhost:8008
-
To run the frontend run
npm run dev
-
You should setup MongoDB cloud and provide the access URL in the
.env
file inside theserver
directory. -
To run backend run
npm start