https://github.com/vickvey/personal-finance-api
A Personal Finance Tracker REST API
https://github.com/vickvey/personal-finance-api
drizzle expressjs postgres rest-api typescript zod
Last synced: 4 months ago
JSON representation
A Personal Finance Tracker REST API
- Host: GitHub
- URL: https://github.com/vickvey/personal-finance-api
- Owner: vickvey
- Created: 2025-05-31T12:07:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-26T12:23:58.000Z (about 1 year ago)
- Last Synced: 2025-07-02T14:44:09.150Z (12 months ago)
- Topics: drizzle, expressjs, postgres, rest-api, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 241 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Personal Finance Tracker REST API
A TypeScript-based REST API for tracking expenses, built with Express, Mongoose, and Zod for server-side validation.
## Features
- User authentication and management
- Category and transaction tracking
- Type-safe server-side validation with Zod
- Centralized error handling with custom error class and middleware
- MongoDB integration with Mongoose
## Setup
1. Clone the repository: `git clone https://github.com/vickvey/expense-tracker-backend.git`
2. Install dependencies: `pnpm install`
3. Copy the example env file:
```bash
cp .env.example .env
```
4. Run: `npm start`
## API Routers
- `Router /api/v1/auth`: Auth Related
- `Router /api/v1/user`: User Related
- `Router /api/v1/category`: Category Related
- `Router /api/v1/transaction`: Transaction Related
## Technologies
- TypeScript, Express, Mongoose, Zod
- MongoDB