Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.31 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.31 KB

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