You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A streamlined ticketing system that connects end-users directly with support teams for software bug reporting. BugFlow transforms chaotic email and chat reports into structured, trackable tickets, giving users visibility and administrators a clear workflow.
Features
For Users
Ticket Submission — Submit bug reports with guided fields, severity levels, and step-by-step reproduction details
Status Tracking — Monitor ticket progress with real-time status updates
User Portal — Dashboard with submission metrics, charts, and analytics
Report Export — Generate PDF and CSV reports with configurable date ranges
For Administrators
Kanban Board — Drag-and-drop ticket management with status columns
List View — Sortable, filterable ticket table with bulk actions
Ticket Assignment — Assign tickets to team members
Bulk Operations — Update status and assignee for multiple tickets
Admin Dashboard — Overview of all tickets with filtering and search
Technical Features
🔐 JWT-based authentication with role-based access control
🌗 Dark mode support
📱 Responsive design for mobile and desktop
🔔 Notification system with read/unread tracking
📊 Interactive charts with Recharts
📄 PDF generation with React-PDF
Tech Stack
Framework: Next.js 16 (App Router)
Language: TypeScript
Database: PostgreSQL with Prisma ORM
Styling: Tailwind CSS 4
UI Components: Lucide Icons
Charts: Recharts
PDF Generation: @react-pdf/renderer
Drag & Drop: @dnd-kit
Authentication: JWT with jose
Password Hashing: bcryptjs
Prerequisites
Node.js 18+
PostgreSQL 14+
npm or yarn
Installation
1. Clone the repository
git clone https://github.com/alexinadev/BugFlow-NextJS.git
cd BugFlow-NextJS
Ticket — Bug reports with status, severity, and assignment
Comment — Ticket comments (internal and public)
Notification — User notifications
StatusHistory — Ticket status change history
NotificationSettings — User notification preferences
Ticket Statuses
Status
Label
Description
pending_verification
Pending Review
Awaiting admin review
open
Open
Confirmed and awaiting action
in_progress
In Progress
Being worked on
resolved
Resolved
Issue fixed
closed
Closed
Ticket closed
Severity Levels
Severity
Description
blocking
System is unusable
major
Major feature broken
minor
Minor issue or workaround exists
suggestion
Enhancement suggestion
Scripts
# Development
npm run dev
# Build for production
npm run build
# Start production server
npm run start
# Run linter
npm run lint
# Database migrations
npx prisma migrate dev
# Database seeding
npx prisma db seed
# Open Prisma Studio
npx prisma studio
Contributing
Fork the repository
Create a feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request
License
This project is licensed under the MIT License.
Support
For bug reports and feature requests, please use the GitHub Issues page.