Welcome to Samriddhi Setu, a vibrant and collaborative community hub platform designed to enable meaningful discussions, resource sharing, and networking among users. Built with a modern full-stack architecture, this project combines real-time features with a clean UI for a seamless user experience.
Frontend:
- Next.js (React Framework)
- TypeScript (Strongly-typed JS)
- Tailwind CSS (Utility-first styling)
- Clean, responsive UI with modular components
Backend:
- Node.js
- Express.js
- MySQL for relational data
- Socket.IO for real-time communication (live comments, updates)
- REST API with file upload support using Multer
Tools & Testing:
- Postman for API testing and development
- RESTful architecture for seamless frontend-backend integration
- 🔐 User Registration & Login
- 📝 Create & View Posts (with optional image uploads)
- 💬 Commenting System (supports threaded replies)
- 👍 Voting Mechanism for posts
- 📢 Real-Time Updates using Socket.IO
- 🎨 Category Filtering for organized content
- 🔎 Search & Discover Posts
- 🧩 Modular Components for reusability and clean code
samriddhi-setu/ ├── backend/ # Node.js + Express + MySQL API │ ├── routes/ │ ├── models/ │ └── controllers/ ├── frontend/ # Next.js + Tailwind CSS app │ ├── components/ │ ├── pages/ │ └── styles/ ├── database/ # SQL scripts and schema └── README.md
yaml Copy Edit
- Clone the repo
git clone https://github.com/your-username/samriddhi-setu.git cd samriddhi-setu
Setup Backend
bash Copy Edit cd backend npm install npm run dev Setup Frontend
bash Copy Edit cd ../frontend npm install npm run dev Database Setup
Import the SQL schema from /database/schema.sql into MySQL
Update DB credentials in backend .env
📎 API Testing (via Postman) Use /api/users, /api/posts, /api/comments, /api/votes endpoints
File uploads tested via multipart/form-data
Token-auth routes available if JWT added
📹 Project Video 📺 Watch here: https://www.youtube.com/watch?v=ai2jwY-szeU
🙌 Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.