A full-stack bug tracking application built with React, Node.js, Express, and PostgreSQL.
- Frontend: React, TypeScript
- Backend: Node.js, Express, TypeScript
- Database: PostgreSQL
- ORM: Prisma
- Create, read, update, and delete bugs
- Filter bugs by status (Open, In Progress, Closed)
- Filter bugs by priority (Low, Medium, High)
- Responsive and clean UI
| Method | Path | Description |
|---|---|---|
| GET | /api/bugs | Get all bugs |
| GET | /api/bugs/:id | Get bug by ID |
| POST | /api/bugs | Create new bug |
| PUT | /api/bugs/:id | Update bug |
| DELETE | /api/bugs/:id | Delete bug |
- Node.js (v18+)
- PostgreSQL
- Clone the repository
git clone https://github.com/Haruto-works333/bug-tracker.git
cd bug-tracker- Setup the backend
cd server
npm install- Create a
.envfile in the server directory
DATABASE_URL="postgresql://postgres:YOUR_PASSWORD@localhost:5432/bug_tracker"- Run database migration
npx prisma migrate dev- Start the backend server
npx ts-node src/index.ts- Setup the frontend
cd ../client
npm install
npm start- Open http://localhost:3000 in your browser