Skip to content

saurabh-maurya/social-plus

Repository files navigation

Social Plus

About The Project

The application is based on concept of social media. This application build using MERN stack

Built With MERN



Getting Started

Prerequisites

  1. MongoDB
  2. Node JS
  3. NPM
  4. React JS

Database

  1. Collections -
    • Users - use to store user related information
    • Posts - use to store post related data
  2. Fields -
    • Users - username, email, password, profilePicture, coverPicture, followers, followings, isAdmin, desc, city, from, relationship
    • Posts - userId, desc, likes, img

Server - steps to start server side

  1. run command ** npm install** to install required modules
  2. create .env file in \server dir and create variable MONGO_URL. This varaible will contain database connection uri.
MONGO_URL=mongodb://<HOST_NAME>:<PORT>/<DATABASE_NAME>
  1. to start server use command npm start

I have also attached POSTMAN collection for rest endpoint reference

Client - steps to start client side

  1. run command ** npm install** to install required modules
  2. to start server use command npm start

Frontend Screenshots

Login Register Home Profile

About

A social medai app devloped using MERN stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published