A modern, full-stack expense tracking application with beautiful UI and powerful analytics.
|
|
# Clone the repo
git clone https://github.com/yourusername/expense_tracker_platform.git
# Install dependencies
cd server && npm install
cd ../client && npm install
# Start backend (terminal 1)
cd server && npm start
# Start frontend (terminal 2)
cd client && npm startπ App runs at
http://localhost:3000| API athttp://localhost:5000
π¦ expense_tracker_platform
βββ π¨ client/ # React Frontend
β βββ src/
β βββ components/ # UI Components
β βββ pages/ # Page Views
β βββ services/ # API Calls
β βββ styles/ # Theme System
β
βββ βοΈ server/ # Node.js Backend
βββ controllers/ # Business Logic
βββ models/ # Data Models
βββ routes/ # API Routes
βββ middleware/ # Auth Layer
| Method | Endpoint | Description |
|---|---|---|
POST |
/users/register |
Create account |
POST |
/users/login |
Sign in |
GET |
/income/:userId |
Fetch income |
POST |
/income/add |
Add income |
PUT |
/income/:id |
Update income |
DELETE |
/income/:id |
Remove income |
GET |
/expenses/:userId |
Fetch expenses |
POST |
/expenses/add |
Add expense |
PUT |
/expenses/edit/:id |
Update expense |
DELETE |
/expenses/delete/:id |
Remove expense |