Skip to content

๐Ÿž Full-stack Bug Tracking System built with MERN stack. Features role-based access, project management, ticket tracking, and real-time collaboration for development teams.

Notifications You must be signed in to change notification settings

AshishSinsinwal/bugTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿž Bug Tracker

A comprehensive Bug Tracking System built with the MERN stack (MongoDB, Express.js, React.js, Node.js). This application enables development teams to efficiently manage software projects, track bugs, assign tasks, and monitor progress through an intuitive web interface.


โœจ Features

  • ๐Ÿ‘ฅ Role-Based Access Control: Distinct Admin and Developer user roles
  • ๐Ÿ“ Project Management: Create, organize, and assign projects to team members
  • ๐ŸŽซ Advanced Ticket System: Create, update, assign, and resolve bug tickets
  • ๐Ÿ’ฌ Real-time Comments: Collaborative communication between admins and developers
  • ๐Ÿ“ˆ Status Tracking: Visual progress monitoring (To Do โ†’ In Progress โ†’ Done)
  • ๐Ÿ”’ Secure Authentication: JWT-based login and registration system
  • โฐ Activity Timestamps: Track creation and update times for all activities
  • ๐Ÿ“ฑ Responsive Design: Mobile-friendly interface using Bootstrap 5
  • ๐ŸŽฏ Task Assignment: Assign specific tickets to developers
  • ๐Ÿ“Š Dashboard Analytics: Overview of project and ticket statistics

๐Ÿ› ๏ธ Tech Stack

Technology Purpose
MongoDB NoSQL database for data storage
Express.js Backend web framework
React.js Frontend user interface
Node.js Backend runtime environment
Bootstrap 5 CSS framework for styling
JWT Authentication & authorization
Axios HTTP client for API requests

๐Ÿ“ธ Screenshots

Admin Dashboard Developer View
Admin Developer
Login Register
Login Register

Project Tickets Project All Tickets

Ticket Ticket


๐Ÿš€ Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB (local installation or MongoDB Atlas account)
  • npm or yarn package manager

Installation

  1. Clone the repository

    git clone https://github.com/AshishSinsinwal/bugTracker.git
  2. Set up the backend

    cd Server
    npm install
  3. Configure environment variables

    Create a .env file in the server directory:

    PORT=8000
    MONGO_URI=your_mongodb_connection_string
    JWT_SECRET=your_jwt_secret_key
  4. Start the backend server

    npm run dev
  5. Set up the frontend

    cd ../bug-tracker-frontend
    npm install
  6. Start the frontend application

    npm start

The application will be available at http://localhost:8000


๐Ÿ“ Project Structure

bug-tracker/
โ”œโ”€โ”€ client/                 # React frontend
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ components/     # Reusable UI components
โ”‚   โ”‚   โ”œโ”€โ”€ pages/          # Page components
โ”‚   โ”‚   โ”œโ”€โ”€ services/       # API service functions
โ”‚   โ”‚   โ”œโ”€โ”€ context/        # React context providers
โ”‚   โ”‚   โ””โ”€โ”€ App.js          # Main application component
โ”‚   โ””โ”€โ”€ package.json
โ”œโ”€โ”€ server/                 # Express backend
โ”‚   โ”œโ”€โ”€ models/             # MongoDB schemas
โ”‚   โ”œโ”€โ”€ routes/             # API route definitions
โ”‚   โ”œโ”€โ”€ controllers/        # Request handlers
โ”‚   โ”œโ”€โ”€ middleware/         # Custom middleware
โ”‚   โ”œโ”€โ”€ config/             # Configuration files
โ”‚   โ””โ”€โ”€ server.js           # Server entry point
โ””โ”€โ”€ README.md

๐Ÿ‘ฅ User Roles & Permissions

๐Ÿ”ง Admin

  • Create and manage projects
  • Assign developers to tickets
  • Create, edit, and delete bug tickets
  • Manage user accounts

๐Ÿ’ป Developer

  • View tickets
  • Update ticket status (To Do โ†’ In Progress โ†’ Done)
  • Add comments and updates to tickets
  • Track personal task progress

๐ŸŽฏ Core Functionality

Ticket System

  • Create detailed bug reports with priority levels
  • Assign tickets to specific developers
  • Track ticket lifecycle from creation to resolution
  • Add comments and status updates

Authentication

  • Secure user registration and login
  • JWT token-based session management
  • Role-based route protection

๐Ÿ”ฎ Future Enhancements

  • Email Notifications: Automated alerts for ticket assignments and updates
  • File Attachments: Upload screenshots and documents to tickets
  • Advanced Filtering: Filter tickets by priority, status, assignee, and date
  • Activity Dashboard: Comprehensive logging of all user activities
  • Dark Mode: Toggle between light and dark themes
  • Mobile App: Native mobile application for iOS and Android
  • Integration APIs: Connect with GitHub, Jira, and other development tools
  • Reporting: Generate PDF reports for project progress
  • Time Tracking: Track time spent on each ticket

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ‘จโ€๐Ÿ’ป Author

Your Name


๐Ÿ™ Acknowledgments

  • Thanks to the MERN stack community for excellent documentation and resources
  • Bootstrap team for the responsive CSS framework
  • MongoDB for providing an excellent NoSQL database solution

Built with โค๏ธ using the MERN stack

About

๐Ÿž Full-stack Bug Tracking System built with MERN stack. Features role-based access, project management, ticket tracking, and real-time collaboration for development teams.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published