This is a simple full stack social media project built to practice backend and frontend development. The application allows users to create accounts, log in, and interact with posts through features like follow, like, and dislike.
The backend is fully implemented, and the frontend is currently in progress using HTML, CSS, and vanilla JavaScript.
- User authentication (signup, login)
- Follow and unfollow users
- Create posts
- Like and dislike posts
- Token-based authentication using cookies
- Node.js
- Express
- MongoDB
- Mongoose
- JSON Web Token (JWT)
- cookie-parser
- dotenv
- HTML
- CSS
- Vanilla JavaScript
- Backend handles API, authentication, and database operations
- Frontend consumes APIs and renders UI
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.
- Backend: Completed
- Frontend: In progress
-
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 focused on learning core concepts rather than production-level implementation.