StackIt is a minimal question-and-answer platform that supports collaborative learning and structured knowledge sharing. It’s designed to be sim ple, user- friendly, and focused on the core experience of asking and answering questions within a com m unity.
Team Leader : Jaydip Singh Email : [email protected]
Member 1 : Dev Patel Email : [email protected]
Video Link : https://drive.google.com/file/d/1QyxRsV_1fOqlldp1hiL7ej4NoPvxWeqw/view?usp=sharing
Backend
- Node.js
- Express.js
- MongoDB (Mongoose)
- JWT for authentication
Frontend
- Angular
- TailwindCSS (for modern UI)
git clone https://github.com/Virus2466/stackit-odoo
cd stackit/backendnpm installCreate a .env file in /backend:
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
PORT=5000
npm startBackend runs at http://localhost:5000.
cd ../frontendnpm installEdit src/environments/environment.ts:
export const environment = {
production: false,
apiUrl: 'http://localhost:5000/api'
};ng serveFrontend runs at http://localhost:4200.
- Users can sign up (choose role, username, email, password).
- Users can sign in with email and password.
- JWT token is stored in local storage and automatically attached to API requests.
- Routes are protected using Angular Guards.
POST /api/auth/register
POST /api/auth/login
GET /api/users/profile
GET /api/questions
GET /api/questions/:id
POST /api/questions
POST /api/questions/:id/accept-answer
Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.
This project is licensed under the MIT License.
Thanks to the hackathon community for inspiring this minimal, hack-friendly Q&A platform!
If you have any questions, open an issue or email: [email protected].