A full-stack Expense Tracker application built using Go, PostgreSQL, and Next.js with JWT Authentication and complete expense CRUD functionality.
Frontend: https://expensetrackergo.netlify.app
Backend: https://expensetrackergo.onrender.com
- 🔐 User Authentication (Register/Login)
- 🪪 JWT-based Authorization
- ➕ Add Expenses
- ✏️ Update Expenses
- 🗑 Delete Expenses
- 📊 Expense Summary Analytics
- 📱 Responsive Modern UI
- 🌙 Dark Theme Dashboard
- ☁️ Deployed Frontend & Backend
- Next.js
- React.js
- Tailwind CSS
- Axios
- Golang
- Gorilla Mux
- PostgreSQL
- JWT Authentication
- pgx PostgreSQL Driver
- Netlify
- Render
expense-tracker/
│
├── backend/
│ ├── database/
│ ├── handlers/
│ ├── middleware/
│ ├── models/
│ └── main.go
│
├── frontend/
│ ├── app/
│ ├── lib/
│ └── components/
│
└── README.mdPORT=8080
DATABASE_URL=your_postgresql_database_url
JWT_SECRET=your_secret_keyNEXT_PUBLIC_API_URL=https://your-backend-url.onrender.comgit clone https://github.com/aryanraj13/ExpenseTrackerGo.gitcd backend
go mod tidy
go run main.goBackend runs on:
http://localhost:8080cd frontend
npm install
npm run devFrontend runs on:
http://localhost:3000| Method | Endpoint | Description |
|---|---|---|
| POST | /register |
Register user |
| POST | /login |
Login user |
| Method | Endpoint | Description |
|---|---|---|
| GET | /expenses |
Fetch expenses |
| POST | /expenses |
Create expense |
| PUT | /expenses/:id |
Update expense |
| DELETE | /expenses/:id |
Delete expense |
| GET | /expenses/summary |
Expense analytics |
Register → Login → JWT Token → Protected Routes → Expense Dashboard
- 📅 Monthly Expense Charts
- 📊 Pie Charts & Graphs
- 🔎 Search & Filters
- 📤 Export Expenses
- 🌍 Multi Currency Support
- 👤 User Profile Settings
Aryan Rajput
GitHub: https://github.com/aryanraj13


