Skip to content

sarthaksharma27/SocialMedia-MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Social Media Project

Screenshot from 2023-11-09 16-02-32

This project is a social media built using the MERN stack (MongoDB, Express, React, Node.js). It offers functionalities similar to popular social media platforms, allowing users to create profiles, post updates, follow other users, like and comment on posts, and more.

Features

  • User Authentication: Securely sign up, log in, and log out.
  • Profile Management: Create and edit user profiles.
  • Post Creation: Create, edit, and delete posts.
  • Interactions: Like and comment on posts.
  • Follow System: Follow other users and see their posts on the feed.

Tech Stack

Frontend:

  • React
  • Redux (optional)

Backend:

  • Node.js
  • Express

Database:

  • MongoDB

Authentication:

  • JWT (JSON Web Tokens)

Environment Variables

To run this project, you will need to add the following environment variables to your .env file in server folder

 MONGO_URL=YOUR_MONGO_ATLAS_URL
 JWT_SECRET=MAKE_YOUR_SECRET
 PORT=PORT

Installation

Install server dependencies

 cd server
 npm install
 nodemon index.js

Install client dependencies

 cd ../client
 npm install
 npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages