Files
otto/README.md
2026-07-08 19:17:05 +02:00

73 lines
2.4 KiB
Markdown

# Otto — Travel Activity Planner
API-powered planner for things to do in your destination.
Choose dates + **number of days**, pick an **Experience Mode** (Foodie, Cultural, Adventurous...), set a budget, and get a realistic day-by-day itinerary backed by live data from Geoapify and Ticketmaster.
Everything in English. Follows `karpathy.md`.
## Quick Start (Docker recommended)
```bash
cp .env.example .env
# Fill GEOAPIFY_API_KEY and TICKETMASTER_API_KEY (free tiers available)
docker compose -f docker-compose.dev.yml up --build
```
Open http://localhost:3000
## Without Docker
```bash
npm install
npm run db:migrate # requires a running Postgres (see .env)
npm run dev
```
## Key Features (MVP)
- Explicit number of days (not just date math)
- 6 Experience Modes that bias the entire plan
- One-click adjustment buttons after generation
- Budget respected + cost estimates
- Real places + events from APIs
- Leaflet map
- Save & share by ID
See the detailed plan in the session `plan.md` for architecture and phases.
## Environment
Required keys (free tiers):
- Geoapify
- Ticketmaster
LLM key for future full generation (currently stubbed).
## Development
- Follow `karpathy.md` + `AGENTS.md`
- `npm run lint`
- `npm run build`
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.