[Next] refactor: Simplify Next.js app - remove unnecessary dependencies
Published on November 9, 2025
## GitHub Update
**Repository:** [MKWcorp/CINTAI](https://github.com/MKWcorp/CINTAI)
**Author:** MKWcorp
**Date:** 11/9/2025, 7:47:25 AM
**Commit:** [`0643339`](https://github.com/MKWcorp/CINTAI/commit/06433392cf8afc0c659dddb46d5e504117198ae7)
### Commit Message
refactor: Simplify Next.js app - remove unnecessary dependencies
Remove:
- All database logic (pg) - handled by VPS backend
- Google Cloud Storage - handled by VPS backend
- Gemini AI - handled by VPS backend
- Axios - use native fetch
- Complex API routes (circlo/webhook, n8n, upload)
- lib/ folder with backend logic
Keep only:
- Next.js, React, React-DOM
- Simple /api/chat route that forwards to VPS
- Chat UI interface
Result: 385 packages (down from 468)
App is now truly frontend-only, backend handles everything
---
_This story was imported from historical commits._