🐞 A modern bug tracking and test reporting platform for QA teams and reporting managers.
Test-Track is a full-stack web application built to help teams manage projects, organize modules and sub-modules, report bugs, review QA activity, and monitor product quality through dashboards and analytics. It combines a polished React frontend with an Express backend and optional PostgreSQL persistence.
Test-Track supports structured QA workflows across projects and testing scopes. The platform is designed for two primary roles:
- 👩💼
Reporting Manager: supervises QA activity, manages projects and structure, and reviews dashboards, analytics, and reports. - 🧪
QA User: works within assigned projects, reports bugs, tracks progress, and contributes evidence for defects.
The current application provides:
- 🎨 A responsive interface with light and dark mode support
- 📌 Sticky navigation and clean empty states
- 📊 Dashboard and analytics views for bug and testing insights
- 🗂️ Project, module, and sub-module organization
- 🔐 Demo login fallback plus PostgreSQL-backed authentication when configured
- 🐘 In-repo PostgreSQL schema and seed tooling
- Create and manage projects
- Organize work using modules and nested sub-modules
- Maintain project visibility by role and project membership
- Capture detailed bug reports with title, description, severity, priority, environment, and reproduction steps
- Associate bugs with projects and modules
- Track lifecycle states such as
OPEN,IN_PROGRESS,RESOLVED,CLOSED, andREOPENED
- Reporting Managers supervise and review testing activity
- QA Users report and manage bugs within accessible projects
- Workspace bootstrap data is scoped by user access
- Dashboard metrics for total, open, closed, in-progress, and critical bugs
- Highcharts-based visual summaries
- Clean empty-state handling for first-use and no-data scenarios
- Functional light and dark themes
- Sticky header and sidebar for better navigation
- Simple, elegant sign-in flow with ready-to-use demo accounts
- PostgreSQL-backed authentication and session bootstrap when
DATABASE_URLis configured - Health endpoint with schema readiness reporting
- Included SQL schema and seed scripts for quick setup
- ⚛️ React 18
- 🟦 TypeScript
- ⚡ Vite
- 🌐 Express
- 🧵 Zustand
- 🎨 Tailwind CSS
- 📊 Highcharts
- 🐘 PostgreSQL
- ✅ Vitest
Install the following before starting:
Node.js18+npmPostgreSQL14+ for database-backed usage
git clone https://github.com/snjaynegi/Test-Track.git
cd Test-Tracknpm installCopy the example file:
cp .env.example .envOn Windows PowerShell:
Copy-Item .env.example .envThen update the values in .env to match your environment.
npm run db:setupThis command creates the schema and seeds the default records required for login and initial workspace setup.
npm run devThe development environment starts:
- Frontend via Vite
- Backend API on
http://localhost:3001
After database setup, use the seeded demo accounts:
- 👩💼 Reporting Manager:
manager@demo.local/demo123 - 🧪 QA User:
qa@demo.local/demo123
- Sign in with the appropriate role.
- Create or review projects.
- Add modules and sub-modules to structure the testing scope.
- Report and track bugs from the QA workspace.
- Review dashboards and analytics for testing visibility.
npm run dev
npm run build
npm run check
npm run test
npm run db:setup
npm run db:seedUse the backend health endpoint to confirm application readiness:
GET /api/health
Returned database state includes:
configuredconnectedschemaReady
The backend uses environment variables for runtime configuration.
| Variable | Description | Example |
|---|---|---|
PORT |
Express API server port | 3001 |
DATABASE_URL |
PostgreSQL connection string | postgresql://postgres:postgres@localhost:5432/bug_tracking |
PGSSL |
Enables SSL for PostgreSQL when set to true |
false |
PORT=3001
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/bug_tracking
PGSSL=falsedatabase/schema.sql: creates tables and indexesdatabase/seed.sql: inserts demo users and starter recordsscripts/setup-postgres.mjs: applies schema and seed files to PostgreSQL
Contributions are welcome. For clean and reviewable changes:
- Fork the repository.
- Create a dedicated branch for your work.
- Keep changes focused and documented.
- Run validation commands before opening a pull request:
npm run check
npm run test- Include the following in your pull request:
- A clear summary of the change
- Screenshots for UI updates
- Notes about database or environment changes
- Testing details and expected behavior
Recommended areas for contribution:
- 🐘 Expanding PostgreSQL CRUD support
- 📄 Report export enhancements
- ♿ Accessibility improvements and contrast auditing
- 🧪 Additional automated tests
- 🚀 Deployment hardening
This repository currently does not include a LICENSE file.
That means:
- The code is visible in the repository
- Reuse and redistribution rights are not explicitly granted
- A formal license should be added before publishing as open source
If you plan to distribute the project publicly, add a standard license such as MIT, Apache-2.0, or GPL-3.0.
This README is intentionally written with standard Markdown so it renders well across:
- GitHub
- GitLab
- VS Code preview
- Local Markdown viewers
Compatibility choices used here:
- Standard Unicode emojis instead of HTML-based icon layouts
- Plain Markdown headings, lists, tables, and fenced code blocks
- No custom alignment tricks or platform-specific extensions
Test-Track provides a strong foundation for structured QA operations, bug reporting, project organization, analytics, and PostgreSQL-backed growth. It is designed to be readable for stakeholders, practical for testers, and maintainable for developers.