An automated bug tracking system built with a full-stack architecture, featuring user authentication, bug management, and a responsive frontend.
- User Authentication: Secure login and registration with JWT tokens
- Bug Management: Create, view, update, and track bugs
- Dashboard: Overview of bugs and system statistics
- Responsive UI: Modern React-based frontend with charts
- Email Notifications: Automated notifications for bug updates
- RESTful API: Well-structured backend API
- Node.js with Express.js
- MongoDB with Mongoose ODM
- JWT for authentication
- bcryptjs for password hashing
- nodemailer for email notifications
- CORS for cross-origin requests
- React with Vite build tool
- React Router for navigation
- Axios for API calls
- Recharts for data visualization
- Node.js (v14 or higher)
- MongoDB (local or cloud instance)
- npm or yarn
-
Clone the repository:
git clone https://github.com/AryanVerma06/bug-tracking-system.git cd bug-tracking-system -
Backend Setup:
cd backend npm install- Create a
.envfile in thebackenddirectory with the following variables:MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key EMAIL_USER=your_email@gmail.com EMAIL_PASS=your_email_password PORT=5000
- Create a
-
Frontend Setup:
cd ../frontend npm install
-
Start the Backend:
cd backend npm run devThe server will run on
http://localhost:5000 -
Start the Frontend:
cd frontend npm run devThe app will be available at
http://localhost:5173 -
Access the Application:
- Open your browser and navigate to
http://localhost:5173 - Register a new account or login with existing credentials
- Create and manage bugs through the dashboard
- Open your browser and navigate to
POST /api/auth/register- Register a new userPOST /api/auth/login- Login user
GET /api/bugs- Get all bugsPOST /api/bugs- Create a new bugPUT /api/bugs/:id- Update a bugDELETE /api/bugs/:id- Delete a bug
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.