This is a simple stack social media project built to practice backend. The application allows users to create accounts, log in, and interact with posts through features like follow, like, and dislike.
- User authentication (signup, login)
- Follow and unfollow users
- Create posts
- Like and dislike posts
- Token-based authentication using cookies
This project is built as a learning exercise to understand how a social media application works at a fundamental level, especially focusing on backend logic and API design.
-
Clone the repository
-
Install dependencies:
npm install -
Create a
.envfile and add required environment variables (e.g., MongoDB URI, JWT secret) -
Run the server:
npm start
This is a beginner-friendly project where I focused on learning core concepts rather than production-level implementation.