- Node.js 16+
- Docker 20+
- 2GB RAM
- 1GB free disk space
- ✅ User authentication (signup/login/logout)
- ✅ AI chat with Google Gemini
- ✅ Conversation persistence
- ✅ Basic UI components
Next.js 15 + TypeScript
├── Frontend: Next + Shadcn UI + RHF + TailwindCSS
├── Backend: API routes + MikroORM + Light version of DDD
├── Database: PostgreSQL
├── AI: LangChain + Google Gemini
└── Auth: auth.js
- Clone and setup:
git clone <repo>
cd suhuf- Create
.env.local:
# Database
DB_NAME=ai_notes
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=db
DB_PORT=5432
# NextAuth
NEXTAUTH_SECRET=your-secret-key-here
NEXTAUTH_URL=http://localhost:3000
# Google Gemini
GOOGLE_API_KEY=API_KEY- Run:
docker-compose up -d- Access: http://localhost:3000
Test
- signup with name, email, password
- login with email, password
- create conversation (might need to refresh page)
- open conversation
- chat with AI
- get conversations history
- logout
- Message display bugs in conversations
- User ID mapping issues
- Incomplete error handling
- Missing features: notes management & some bug fixes and enhancements