AI Coding in Practice: Building a Free-Style Travel Planner in Two Weeks
This article walks through building a travel itinerary planning app in about two weeks of spare time using AI coding tools. It covers why the project started, the four-step describe-run-feedback-iterate loop, a three-layer architecture with a native client and lightweight backend, a core data model for trips and itinerary items, cloud deployment and operations practices, and a roadmap from manual editing to AI-generated itineraries. The main takeaway is that AI compresses coding and debugging time, while architecture, data design, acceptance, and security judgment remain the developer's responsibility.
1. Why the Project Started: Turning a Painful Trip into a Reusable Capability
An island free-style trip made the author acutely aware of how expensive trip planning can be. Choosing between flights and accommodation, understanding the geographic relationship between attractions, estimating daily commute time, and dealing with uncertain weather and opening hours all involve information scattered across different sources. Manually turning that into an executable itinerary often takes more than ten hours. More importantly, the results are almost impossible to reuse: the next destination means starting from zero again.
The project therefore had two goals. First, abstract the planning process into a standard operating procedure (SOP), so that collecting, filtering, scheduling, and validating information become repeatable steps. Second, turn that procedure into a product: a personal travel planning tool that can be opened and modified at any time. The choice of a native mobile client plus a lightweight backend service, rather than a one-off web page, comes from the nature of itinerary planning: it is a long-term, incremental, on-the-go activity that needs local data persistence, offline availability, and cross-device sync.
2. What AI-Assisted Development Actually Feels Like: From Writing Code to Expressing Intent
The whole development cycle took about two weeks, all in spare time, from concept to a runnable minimum viable version deployed live. The most counterintuitive part is that the developer barely hand-wrote business code; the focus shifted from implementation to description and acceptance.
The loop can be summarized in four steps:
- Describe requirements: use natural language to state the feature, constraints, and acceptance criteria.
- Let the tool execute: the AI coding tool generates code changes, creates files, and installs dependencies.
- Close the feedback loop: run in the simulator, then paste back error logs, screenshots, and unexpected behavior as-is.
- Iterate to convergence: repeat until behavior matches expectations, then move to the next feature.
This works only because the developer has engineering judgment. AI is good at generating well-structured code but bad at making trade-offs for you: how far to normalize the data model, which logic must live on the server, how to cover error handling and edge cases, and why sensitive credentials must never enter the repository. Those decisions are still made by humans; AI turns decisions into runnable code. In other words, AI compresses the time cost of coding and debugging, not the responsibility for architecture and acceptance.
3. Architecture: Native Client + Lightweight Backend + Cloud Hosting
The system uses a clear three-layer structure to avoid piling business logic into the client.
- Client layer: CRUD for itineraries, date and map views, offline caching, and local-first storage.
- Service layer: accounts and data sync, normalized validation of itinerary data, and an orchestration entry point for adding intelligent generation later.
- Infrastructure layer: general capabilities from a cloud provider, including a cloud server or container platform to host services, object storage for static assets and attachments, and logging plus monitoring and alerting for observability.
The data model is built around four core entities: Trip, Day, ItineraryItem, and Place. Items reference a place and a time slot, breaking “when to go where, how long to stay, how to get there” into structured fields instead of free text. This makes conflict detection, route optimization, and intelligent reordering cheap to add later.
{"trip": { "id": "t_001", "destination": "An island in Southeast Asia", "startDate": "2026-03-01", "days": 5 },"items": [{ "day": 1, "start": "09:30", "placeId": "p_018", "durationMin": 120, "transport": "walk" },{ "day": 1, "start": "14:00", "placeId": "p_042", "durationMin": 90, "transport": "transit" }]}
4. Cloud Deployment and Operations Essentials
Deployment was also tool-assisted, with humans handling only sensitive steps such as credentials and DNS. A reusable checklist:
- Environment isolation: separate dev, staging, and production configurations; inject secrets via environment variables or a secret management service, never commit them.
- Least privilege: grant service accounts only the permissions they need; do not expose databases or object storage directly to the public internet.
- Observability: unified log collection and metrics monitoring, with alert thresholds on API error rate and response latency.
- Delivery pipeline: chain build, test, and release into an automated pipeline so every release can be rolled back.
- Data security: encryption in transit, encryption at rest, regular backups, and restore drills.
5. Roadmap: From Manual Editing to Intelligent Generation
In the current version, itinerary items are still added manually. That is a reasonable MVP trade-off and leaves an interface for intelligence. The next stage has three steps:
First, integrate a large language model to generate a first-draft itinerary from destination, number of days, budget, and preferences. Second, add integration and orchestration of external data sources, bringing opening hours, weather, and traffic into the constraints for feasibility checks. Third, add conflict resolution and reordering: when the user drags an item, automatically flag whether the downstream time chain is broken and offer optional adjustments. Sharing and collaboration come last, so travel companions can edit together.
One point deserves emphasis: generated results must be explainable, editable, and reversible. Travel plans are a strongly personal-preference scenario, so any automatic scheduling should exist as a suggestion rather than overriding the user’s intent.
6. Lessons Learned
The value of this project is not only a shipped app but a validated AI-assisted development workflow: description-first requirements, structured data design, a strict acceptance loop, and human control over architecture and security baselines. For independent developers, the real barrier has shifted from “can you write code” to “can you define the problem clearly and judge whether the result is good.” Meanwhile, publishing a native client to app stores still involves review guidelines, privacy disclosures, and permission minimization; that compliance work cannot be fully automated and needs to be planned ahead.
