Files
notes/projects/network-app/feasibility.md

74 lines
2.1 KiB
Markdown

# The Network App — Feasibility Assessment
**Last Updated:** 2026-01-27
**Status:** ✅ Feasible — Proceed with MVP
---
## Stack Validation
| Component | Choice | Maturity | Risk |
|-----------|--------|----------|------|
| Flutter | Stable | Production-ready | Low |
| Elysia + Bun | Growing | v1.0+, stable | Low |
| PostgreSQL | Mature | Industry standard | Low |
| Drizzle | Stable | Production-ready | Low |
| BetterAuth | Newer | v1.0+, active dev | Low-Medium |
| LangChain.js | Mature | Widely adopted | Low |
| Dokploy | Stable | Self-hosted PaaS | Low |
**Overall Risk:** Low — All core technologies are production-ready.
---
## MVP Timeline Estimate
| Phase | Scope | Duration |
|-------|-------|----------|
| 1. Setup | Repos, auth, DB schema | 1 week |
| 2. Client CRUD | Backend + Flutter UI | 2 weeks |
| 3. Search & Events | Filters, birthday tracking | 1 week |
| 4. AI Integration | LangChain email generation | 1 week |
| 5. Polish | Testing, bug fixes, deploy | 1 week |
**Total: 6-8 weeks for MVP**
---
## Cost Estimate (Monthly)
| Service | Cost |
|---------|------|
| VM (Dokploy host) | Already owned |
| PostgreSQL | Included (self-hosted) |
| Claude API (~200 emails) | ~$3-5 |
| Resend (3k emails free) | $0 |
| **Total** | ~$5/month |
---
## Key Decisions
1. **Cross-platform (Flutter)** over iOS-only — Serves both platforms from one codebase
2. **Self-hosted** over Firebase — Full control, predictable costs, no vendor lock-in
3. **LangChain** over direct API — Model flexibility for future
4. **Lean MVP** — Core features only, iterate based on David's feedback
---
## Risks & Mitigations
| Risk | Probability | Mitigation |
|------|-------------|------------|
| BetterAuth edge cases | Low | Active community, can fallback to Lucia |
| AI response quality | Medium | Prompt iteration, human review before send |
| Bun compatibility issues | Low | Mature ecosystem, fallback to Node if needed |
---
## Recommendation
**Proceed with development.** Stack is solid, timeline is reasonable, costs are minimal.
Next step: Set up repos and scaffold projects.