Guides
Use and adapt anan-ai-1
Use and adapt anan-ai-1: A real-estate AI assistant with a Convex backend, Next.js web app, admin dashboard, and Expo mobile app.
Use the documented interfaces and source layout for anan-ai-1. The sections below retain the README’s examples and configuration details.
Structure
| Folder | App | Tech |
|---|---|---|
convex/ | Backend | Convex, agents |
web/ | Consumer | Next.js, React |
admin/ | Admin | Next.js |
mobile/ | Mobile | Expo, React Native |
Environment
- Copy the template and fill values:
cp .env.example .env.local- Run Convex and push env from
.env.local:
npx convex dev- For production, set variables in Convex Dashboard → Settings → Environment Variables.
Required for agent + web automation
OPENROUTER_API_KEY(orMODEL_API_KEY)BROWSERBASE_API_KEYBROWSERBASE_PROJECT_ID
Optional
SERPER_API_KEY— web search fallback
Deployment
- Convex:
npm run deploy:convex(uses.env.production). Or deploy via GitHub Actions on push tomainwhenconvex/changes; setCONVEX_DEPLOY_KEYin repo secrets. - Web & Admin: Deploy via Vercel. Create separate projects with root directories
web/andadmin/. - Mobile: Build with EAS from
mobile/. Seemobile/README.md.
Commands in the root manifest
The captured package.json declares the following scripts. Run them from the directory containing that manifest.
| Command | Script |
|---|---|
npm run dev | npm-run-all --parallel dev:web dev:backend |
npm run typecheck | tsc --noEmit |
npm run lint | tsc --noEmit && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 |
npm run test | vitest |
Troubleshoot a local change
- Reproduce the smallest example from the quick-start guide.
- Compare required configuration and dependency versions with the README.
- Check the linked issue tracker for the same error. Include the command, runtime version, and relevant error when reporting a problem; omit credentials.
Source and help
Source captured: 2026-10-11
