After some research I decided to trade scalability for cost since I'm starting small
Here's the changed tech stack
💻 Tech Stack
| Domain | Technology | Role |
|---|---|---|
| Frontend | Next.js | Frontend will still be developed in Next.js |
| Hosting & CDN | Vercel | For faster development I decided to use Vercel instead of AWS to deploy frontend |
| Database & Vector Search | Supabase (PotgreSQL) | I will use pgvector for Rag and Supabase Storage for storage |
| AU Orchestration | AWS Lambda(Python) | I will still stick with Lambda for RAG and do the heavy computation and this will be a learning opportunity |
| Authentication | Supabase Auth | User management, JWT and I was more familiar with this than Cognito anyway |
| Billing/FinOps | Stripe API (Webhooks) | I will use Stripe for Payment |
| GenAI | Gemini | I will use Nano Bannana for image generation |
TL&DR
Did my research and changed my tech stack to vercel + supabase + aws lambda
💡
See you in the next blog!