Author
- Name: Mark Mwangi
- GitHub: https://github.com/mwas12345spec
- Date: April 28, 2026
Project Description
CommunityHub is a full-stack social platform where users can register, log in, create posts, like, and comment.
Technologies Used
- React (Vite)
- Node.js
- Express
- MongoDB
- JWT Authentication
Features
- User authentication
- Create, edit, delete posts
- Like and comment system
- Protected routes
- Responsive UI
How to Run
git clone https://github.com/mwas12345spec/iyf-s10-week-12-mwas12345spec.git
cd backend
npm install
npm run dev
cd ../frontend
npm install
npm run dev
Live Demo
Frontend: https://my-app.vercel.app
Backend: https://my-api.onrender.com/api
Lessons Learned
- Full-stack integration
- Deployment process
- Environment variables handling
Challenges Faced
- CORS errors → solved by proper configuration
- Deployment bugs → fixed env variables
Live Demo
View Live Demo