A full-stack interview preparation application built with Go, React, and PostgreSQL.
- 📚 Organize interview questions by categories
- ✍️ Add questions with answers and difficulty levels
- 🔍 Filter questions by category
- 🎨 Modern UI with Tailwind CSS
- 🗑️ Delete questions
- Backend: Go (Gin framework)
- Frontend: React + Vite
- Database: PostgreSQL
- Styling: Tailwind CSS
- Go 1.21+
- Node.js 18+
- PostgreSQL 14+
- Create a PostgreSQL database:
CREATE DATABASE interview_prep;- Run the schema:
psql -U postgres -d interview_prep -f schema.sql- Update database credentials in
backend/database/db.go
cd backend
go mod tidy
go run main.goThe backend will run on http://localhost:8080
cd frontend
npm install
npm run devThe frontend will run on http://localhost:5173
GET /api/categories- Get all categoriesPOST /api/categories- Create a categoryGET /api/questions- Get all questionsGET /api/questions?category_id=1- Get questions by categoryPOST /api/questions- Create a questionPUT /api/questions/:id- Update a questionDELETE /api/questions/:id- Delete a question
MIT