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
GitHub.-.ShantanuK86_bugtracker.-.Google.Chrome.2024-11-08.01-47-54.mp4
- Features
- Prerequisites
- Installation
- Project Setup
- Running the Application
- Available Scripts
- Project Structure
- Usage Guide
- Contributing
- Troubleshooting
- 🔐 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
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)
- Clone the repository:
git clone https://github.com/ShantanuK86/bugtracker.git2.2. Navigate to the project directory:
cd bug-tracker
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
-
Create environment variables:
-
Create a
.env.localfile in the root directory -
Add the following variables:
NEXT_PUBLIC_API_URL=http://localhost:3000/apiNEXT_PUBLIC_API_URL=http://localhost:3000/api
-
Configure your IDE:
-
Install recommended extensions for VS Code:
-
ESLint
-
Prettier
-
Tailwind CSS IntelliSense
-
Install shadcn/ui components:
npx shadcn@latest init
- Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
-
Open your browser and navigate to http://localhost:3000
-
Login with default credentials:
-
Username:
admin -
Password:
123
npm run dev- Start development servernpm run build- Create production buildnpm start- Start production servernpm run lint- Run ESLintnpm run test- Run testsnpm run format- Format code with Prettier
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
- After logging in, you'll see the main dashboard with:
- Task statistics
- Recent activity
- Quick actions
- Use the top navigation bar to:
- Access different sections
- Toggle dark mode
- Log out
- Click "New Task" button
- Fill in required fields
- Set priority and status
- Click "Create"
- Click "Edit" on any task
- Modify fields
- Save changes
- Use filter dropdown for status
- Click column headers to sort
- Use search bar for specific tasks
- Fork the repository
- Create your 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
- Clear npm cache:
npm cache clean --force - Delete node_modules and reinstall
- Check Node.js version
- Verify all dependencies are installed
- Clear .next directory
- Check console for error messages
- Verify environment variables
- Check network connectivity
- Create an issue in the GitHub repository
- Check existing issues for solutions
- Contact the maintainers