A full-stack Query Management System designed to streamline the handling of user queries, built with React, Node.js, Express, and MongoDB.
- User Registration and Login
- Admin & User Dashboards
- Submit, View, and Track Queries
- Admin Management of All Queries
- Role-based Access Control
- RESTful API Integration
- Authentication with JWT
Frontend:
- React.js
- Tailwind CSS
- Axios
Backend:
- Node.js
- Express.js
- MongoDB
- Mongoose
- JSON Web Tokens (JWT)
- bcrypt.js
Query-Management/
│
├── backend/ # Express server & MongoDB integration
│ ├── controllers/
│ ├── middleware/
│ ├── models/
│ ├── routes/
│ └── server.js
│
├── frontend/ # React application
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── services/
│ │ └── App.js
│ └── tailwind.config.js
│
├── .gitignore
├── README.md
└── package.json
git clone https://github.com/adityakr1108/Query-Management.git
cd Query-Managementcd backend
npm install
npm startBackend will run on
http://localhost:5000
cd frontend
npm install
npm startFrontend will run on
http://localhost:3000
Create a .env file inside the backend/ directory:
PORT=5000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
Use the following credentials to log in as an admin:
ADMIN_EMAIL = "admin@test.com"
ADMIN_PASSWORD = "admin123"
This project is licensed under the MIT License.
Feel free to contribute or fork the project!