Skip to content

ShantanuK86/bugtracker

Repository files navigation

Bug Tracker

A modern bug tracking application built with Next.js 14, featuring a clean and intuitive interface for managing tasks and tracking issues. Website: https://bugtracker-rouge.vercel.app

VIDEO

GitHub.-.ShantanuK86_bugtracker.-.Google.Chrome.2024-11-08.01-47-54.mp4

Table of Contents

Features

  • 🔐 User Authentication: Simple login system to manage user access
  • 📊 Interactive Dashboard: Real-time overview of tasks and their status
  • 🎯 Task Management: Create, edit, and delete tasks with ease
  • ⏱️ Time Tracking: Log and monitor time spent on each task
  • 🔍 Advanced Filtering: Sort and filter tasks based on various criteria
  • 📱 Responsive Design: Optimized for both desktop and mobile devices
  • 🌓 Dark Mode: Toggle between light and dark themes for comfortable viewing
  • 📈 Trend Analysis: Visualize task trends with interactive charts

Prerequisites

Before starting, make sure you have the following installed:

  • Node.js (version 18.17 or higher)
  • npm (version 9 or higher) or yarn or pnpm
  • Git
  • A modern web browser
  • A code editor (VS Code recommended)

Installation

  1. Clone the repository:
git clone https://github.com/ShantanuK86/bugtracker.git

2.2. Navigate to the project directory:

 cd bug-tracker

  1. Install dependencies:
 npm install
# or
yarn install
# or
pnpm install

Project Setup

  1. Create environment variables:

  2. Create a .env.local file in the root directory

  3. Add the following variables:

 NEXT_PUBLIC_API_URL=http://localhost:3000/apiNEXT_PUBLIC_API_URL=http://localhost:3000/api

  1. Configure your IDE:

  2. Install recommended extensions for VS Code:

  3. ESLint

  4. Prettier

  5. Tailwind CSS IntelliSense

  6. Install shadcn/ui components:

 npx shadcn@latest init

Running the Application

  1. Start the development server:
 npm run dev
# or
yarn dev
# or
pnpm dev

  1. Open your browser and navigate to http://localhost:3000

  2. Login with default credentials:

  3. Username: admin

  4. Password: 123

Available Scripts

  • npm run dev - Start development server
  • npm run build - Create production build
  • npm start - Start production server
  • npm run lint - Run ESLint
  • npm run test - Run tests
  • npm run format - Format code with Prettier

Project Structure

 bug-tracker/bug-tracker/
├── app/                    # Next.js app directory
│   ├── layout.tsx         # Root layout
│   ├── page.tsx           # Home page
│   └── dashboard/         # Dashboard routes
├── components/            # React components
│   ├── ui/               # shadcn/ui components
│   ├── DashboardContent.tsx
│   ├── TaskList.tsx
│   ├── TaskForm.tsx
│   └── TrendChart.tsx
├── lib/                   # Utility functions
├── styles/               # Global styles
├── public/               # Static assets
└── tests/                # Test files

Usage Guide

Dashboard Navigation

  1. After logging in, you'll see the main dashboard with:
  • Task statistics
  • Recent activity
  • Quick actions
  1. Use the top navigation bar to:
  • Access different sections
  • Toggle dark mode
  • Log out

Managing Tasks

  • Creating a Task:

  1. Click "New Task" button
  2. Fill in required fields
  3. Set priority and status
  4. Click "Create"
  • Editing Tasks:

  1. Click "Edit" on any task
  2. Modify fields
  3. Save changes
  • Filtering and Sorting:

  1. Use filter dropdown for status
  2. Click column headers to sort
  3. Use search bar for specific tasks

Contributing

  1. Fork the repository
  2. Create your feature branch:
 git checkout -b feature/AmazingFeature

  1. Commit your changes:
 git commit -m 'Add some AmazingFeature'

  1. Push to the branch:
 git push origin feature/AmazingFeature
  1. Open a Pull Request

Troubleshooting

Common Issues

  1. Installation Errors:

  • Clear npm cache: npm cache clean --force
  • Delete node_modules and reinstall
  1. Build Errors:

  • Check Node.js version
  • Verify all dependencies are installed
  • Clear .next directory
  1. Runtime Errors:

  • Check console for error messages
  • Verify environment variables
  • Check network connectivity

Getting Help

  • Create an issue in the GitHub repository
  • Check existing issues for solutions
  • Contact the maintainers

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors