Commit Graph

4 Commits

Author SHA1 Message Date
2e1072fa0f
feat: add better-auth integration
- Set up basic better-auth configuration
- Implement auth controller with route handling
- Create authentication middleware
- Update TypeScript types for better compatibility
- Update Drizzle ORM to latest version (0.43.1)
- Add @hono/zod-validator for request validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-27 22:02:19 -04:00
f9d5f8b404
fix: update schema to fix multiple primary key issues and switch to node-postgres
- Replace primaryKey constraints with uniqueIndex where needed
- Fix schema for Auth, Contacts, Exchange Rates, Expense Participants, and Accounts tables
- Add missing import for uniqueIndex
- Switch from postgres.js to node-postgres (pg) for Drizzle
- Add proper type safety with TypeScript
- Add graceful shutdown of database connections
2025-05-27 18:01:40 -04:00
74b7ddf3d6
feat: initial backend setup with Bun, Hono, and Drizzle ORM
- Added documentation for architecture and code plan
- Implemented database schema for users, expenses, settlements, and transactions
- Set up double-entry bookkeeping system with multi-currency support
- Configured Hono web framework with middleware
- Integrated Drizzle ORM for database operations
2025-05-27 17:38:50 -04:00
de91da311f
feat: add devenv 2025-05-27 17:13:17 -04:00