StackIt is a minimal, modern Q&A forum platform built with React (Vite) and Node.js/Express/MongoDB. It supports user authentication, question/answer posting, comments, voting, and real-time notifications.
- User registration and login
- Ask and answer questions
- Comment on answers
- Upvote/downvote answers
- Accept answers (by question owner)
- Notification system (answers, comments, @mentions)
- AI-powered tag suggestion for questions (uses an external model API)
- Responsive, clean UI
- Frontend: React (Vite, Tailwind CSS)
- Backend: Node.js, Express
- Database: MongoDB (Mongoose)
- Node.js (v16+ recommended)
- MongoDB (local or Atlas)
-
Clone the repo:
git clone https://github.com/yourusername/StackIt-A-minimal-Q-A-Forum-Platform.git cd StackIt-A-minimal-Q-A-Forum-Platform -
Install dependencies:
- Backend:
cd backend npm install - Frontend:
cd ../vite-project npm install
- Backend:
-
Configure environment variables:
- Copy
.env.exampleto.envin the backend folder and fill in your MongoDB URI and JWT secret.
- Copy
-
Run the app:
- Start backend:
cd backend npm start - Start frontend:
cd ../vite-project npm run dev
- Start backend:
-
Visit:
- Frontend: http://localhost:5173
- Backend API: http://localhost:5000
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.