Commit Graph

11 Commits

Author SHA1 Message Date
cae7cbb98f Remove social auth and stabilize email/password flow 2026-02-21 23:16:16 -05:00
575bf91ecd Make Docker Compose Coolify-ready 2026-02-20 22:41:21 -05:00
Francesco
f8356e0945 feat: Migrate from NextAuth to Better Auth
Backend changes:
- Add better-auth and pg packages
- Create Better Auth instance with PostgreSQL adapter
- Add Better Auth route handler at /api/auth/*
- Create migration script for Better Auth database schema
- Update main index to use Better Auth routes instead of custom auth
- Configure email/password and OAuth (GitHub/Google) providers

Frontend changes:
- Add better-auth client
- Create Better Auth client instance configuration
- Update lib/auth.ts to use Better Auth session
- Rewrite sign-in page with Better Auth methods
- Rewrite sign-up page with Better Auth methods
- Remove NextAuth route handler

Documentation:
- Add comprehensive migration guide with setup instructions
- Document environment variables and API endpoints
- Include testing checklist and rollback plan

Benefits:
- Unified authentication for both Elysia backend and Next.js frontend
- Database-backed sessions (more secure than JWT)
- Better TypeScript support
- Extensible plugin system for future features
- Active development and frequent updates
2026-02-20 04:13:26 +00:00
Francesco
eb9b60811d chore: Remove Dockerfile.fixed artifact 2026-02-20 04:06:20 +00:00
Francesco
b6b749ad60 fix: Update npm to latest version and fix Tailwind v4 PostCSS configuration
- Install @tailwindcss/postcss for Tailwind v4 compatibility
- Update postcss.config.js to use new Tailwind PostCSS plugin
- Update npm to latest version in backend Dockerfile
- Fixes build failures with Next.js 16.1.6 and Tailwind CSS v4.2.0
2026-02-20 04:06:16 +00:00
Francesco
1573e07927 chore: Update all dependencies to latest versions
Backend updates:
- zod: 3.24.1 → 4.3.6 (major)
- bcryptjs: 2.4.3 → 3.0.3 (major)
- jsonwebtoken: 9.0.2 → 9.0.3 (patch)
- @types/bcryptjs: 2.4.6 → 3.0.0 (major)

Frontend updates:
- next-auth: 5.0.0-beta.25 → 5.0.0-beta.30 (latest v5 beta)
- react: 19.1.0 → 19.2.4 (patch)
- react-dom: 19.1.0 → 19.2.4 (patch)
- recharts: 2.15.4 → 3.7.0 (major)
- tailwind-merge: 2.6.1 → 3.5.0 (major)
- @types/node: 22.12.0 → 25.3.0 (major)
- tailwindcss: 3.4.19 → 4.2.0 (major)

Notes:
- All dependencies updated to absolute latest stable versions
- next-auth kept on v5 beta (upgraded to latest beta.30)
- See DEPENDENCY_UPDATES.md for full details and testing checklist
- Potential breaking changes in zod v4, bcryptjs v3, recharts v3, and tailwindcss v4
- Configuration files may need updates for tailwindcss v4 compatibility
2026-02-19 03:23:51 +00:00
Francesco
ffb7ffce57 chore: Update backend devDependencies to latest
- @types/pg: 8.12.0 -> 8.16.0
- @types/jsonwebtoken: 9.0.7 -> 9.0.10
2026-02-19 03:10:20 +00:00
Francesco
8dd7c7a9dc chore: Update all dependencies to absolute latest versions
Backend updates:
- elysia: 1.1.13 -> 1.4.25
- @elysiajs/cors: 1.1.0 -> 1.4.1
- @elysiajs/swagger: 1.1.0 -> 1.3.1
- pg: 8.13.1 -> 8.18.0
- postgres: 3.4.5 -> 3.4.8
- dotenv: 16.4.7 -> 17.3.1

Frontend updates:
- next: 16.0.0 -> 16.1.6
- recharts: 2.16.0 -> 3.7.0 (MAJOR UPDATE)
- lucide-react: 0.475.0 -> 0.574.0
- date-fns: 4.2.0 -> 4.1.0
- @radix-ui/react-dialog: 1.1.3 -> 1.1.15
- @radix-ui/react-dropdown-menu: 2.1.5 -> 2.1.16
- @radix-ui/react-slot: 1.1.2 -> 1.2.4
- @radix-ui/react-tabs: 1.1.2 -> 1.1.13
- @radix-ui/react-toast: 1.2.6 -> 1.2.15
- tailwind-merge: 2.7.0 -> 3.5.0 (MAJOR UPDATE)
- tailwindcss: 3.4.18 -> 4.2.0 (MAJOR UPDATE)
- typescript: 5.8.0 -> 5.9.3
- autoprefixer: 10.4.21 -> 10.4.24
2026-02-19 03:07:32 +00:00
Francesco
9fa29059da chore: Update all dependencies to latest versions
Backend updates:
- elysia: 1.0.20 -> 1.1.13
- @elysiajs/*: 1.0.2 -> 1.1.0
- pg: 8.11.3 -> 8.13.1
- postgres: 3.4.4 -> 3.4.5
- dotenv: 16.4.5 -> 16.4.7
- zod: 3.22.4 -> 3.24.1
- @types/*: Updated to latest

Frontend updates:
- next: 14.2.0 -> 15.1.3
- react: 18.3.0 -> 19.0.0
- react-dom: 18.3.0 -> 19.0.0
- next-auth: 4.24.0 -> 4.24.8
- recharts: 2.12.0 -> 2.15.0
- lucide-react: 0.344.0 -> 0.474.0
- date-fns: 3.3.0 -> 4.1.0
- @radix-ui/*: Updated to latest
- tailwindcss: 3.4.0 -> 3.4.17
- typescript: 5.3.0 -> 5.7.2
2026-02-19 02:52:06 +00:00
Francesco
973f0c85fa Fix backend Dockerfile - remove unnecessary build step
The backend is designed to run TypeScript directly with Bun, not to build.
Updated Dockerfile to skip build step and run src/index.ts directly.
2026-02-18 06:37:53 +00:00
Francesco
da58289eb1 feat: Complete Fiscal Clone deployment package
- SEC filings extraction (10-K, 10-Q, 8-K)
- Portfolio analytics with real-time prices
- Watchlist management
- NextAuth.js authentication
- OpenClaw AI integration
- PostgreSQL database with auto P&L calculations
- Elysia.js backend (Bun runtime)
- Next.js 14 frontend (TailwindCSS + Recharts)
- Production-ready Docker configurations
2026-02-16 03:49:32 +00:00