AI-Assisted Programming: From Requirements to Application Deployment
A practical account of building and deploying a native travel-planning MVP without manually writing application code. The article covers requirements analysis, technology selection, architecture, AI-driven debugging, backend development, cloud deployment, and plans to integrate large language models for automated itinerary planning.
AI-assisted programming has moved beyond experimentation into practical software development. As a travel enthusiast and technology practitioner, I wanted an application that could manage the entire travel lifecycle. Existing options were either too complicated or focused on only one part of the process.
I decided to use my spare time to build a comprehensive travel-management app for independent travelers, relying on AI coding tools from the initial concept through MVP deployment. My constraint was simple: I would not manually write any application code. Instead, I would guide development through natural-language instructions, testing feedback, and log analysis.
This article documents that process, including technology selection, architecture, development challenges, and cloud deployment.
1. Background and Product Scope
Planning an independent trip often means reading numerous travel guides, comparing transportation and accommodation, and organizing daily schedules and routes. I wanted to turn this repeatable planning workflow into a reusable digital process.
The project also provided an opportunity to test how well AI coding tools could handle real engineering tasks. The challenge covered the full development lifecycle: analyzing requirements, designing the application, testing the frontend in a simulator, developing backend APIs, and deploying the service to a cloud server.
This was not a simple AI-generated HTML demo. The goal was a native mobile application with complete business logic, allowing users to create personal travel plans, manage itinerary items, and organize trips whenever they had a few minutes available.
2. Technology Selection and Architecture
Because AI would generate all the application code, I favored mainstream technologies with extensive documentation. A well-documented stack helps AI tools produce more accurate code.
Frontend: Native Development and Declarative UI
Selection rationale: I chose a native programming language paired with a declarative UI framework. Native development offers advantages in performance, access to system APIs, and user experience. Declarative UI describes the interface in terms of application state, which fits naturally with AI-generated code and supports efficient iteration.
Architecture: The frontend followed a conventional MVC/MVVM architecture to separate views from business logic. This separation made it easier for the AI to modify individual components without disrupting application-wide state.
Backend: A Lightweight Runtime and Web Framework
Selection rationale: The backend used a lightweight runtime from the JavaScript ecosystem together with a popular web application framework. This combination supports rapid development, while its non-blocking I/O model is well suited to the app’s frequent read operations and concurrent requests.
Architecture: The backend exposed standard RESTful APIs for core functions, including user authentication, itinerary management, and data synchronization.
Database and Deployment Environment
Database: I selected a mature relational database to support transactional consistency and efficient queries across related travel data, such as multi-day schedules and linked locations.
Deployment environment: The application ran on a cloud virtual server, with a high-performance web server for reverse proxying and load balancing. A process-management tool kept the backend service running reliably.
3. The AI-Assisted Development Workflow
The central workflow was a continuous feedback loop:
Describe a requirement → Generate code with AI → Test locally or in a simulator → Share error logs → Ask AI to fix the code
This cycle guided development from requirements analysis through frontend and backend implementation.
Requirements Analysis and PRD Generation
The first step was not code generation. Instead, I asked the AI to act as a product manager.
Using natural language, I described the application concept, target users, and main features. The coding tool then produced a structured product requirements document (PRD), including data models, screen navigation, and API definitions.
That document provided a clear blueprint for subsequent development.
Frontend Implementation and Debugging
For frontend work, I described the desired behavior—for example:
Create a screen that displays a list of itineraries and supports pull-to-refresh.
The AI generated the corresponding view code. When simulator testing revealed layout problems or compilation errors, I copied the console logs into the tool and asked it to fix the code based on those errors.
Narrowing each request to a specific problem helped the AI identify and modify the relevant code. Repeated testing and targeted corrections gradually produced smooth interactions.
Backend API Implementation
Backend development followed the same pattern. I specified the API paths, request parameters, and expected JSON responses. The AI generated route configuration, database connection pooling, and business logic.
When problems arose, such as mismatches between database field types and application data, I supplied the error logs. The AI then adjusted the SQL statements or data models as needed.
4. Deployment and Operations
Once the frontend and backend worked together locally, the next challenge was cloud deployment. This stage tested whether AI assistance could extend beyond application code into infrastructure configuration and operations.
Setting Up the Server Environment
I connected to the cloud server over SSH and used AI guidance to install dependencies, initialize the database, clone the backend project, and install its packages.
Some command-line steps still required manual execution. However, the AI generated the configuration file contents and environment-variable settings.
Separating Sensitive Information
Deployment required sensitive values such as database passwords and API keys. I handled these manually by inserting the real credentials into AI-generated configuration templates rather than sharing them with the coding tool.
This kept sensitive information separate from the AI interaction and reduced the risk of credential exposure.
Exposing and Managing the Service
I configured the web server as a reverse proxy, forwarding external requests to the backend service’s designated port. I also configured an SSL certificate to enable HTTPS access.
A process-management tool started and supervised the backend service, allowing it to restart automatically after an unexpected crash.
5. Next Steps: Adding AI-Powered Travel Planning
The MVP is deployed and usable. At this stage, users still create and edit itineraries manually. The next step is to integrate large language model capabilities more deeply into the application.
Large Language Model Integration and Automated Research
The plan is to connect the application to a large language model API and use concepts from the Model Context Protocol (MCP) to support web search and tool use.
Users would enter a destination and travel dates. The application would then gather information from the web and generate an initial travel plan covering attractions, food, and transportation.
These capabilities are planned enhancements, not features of the current MVP.
Personalized Adjustments and Itinerary Sharing
After the AI generates a draft itinerary, users would be able to adjust it to their preferences.
A sharing feature is also planned, allowing itineraries to be published as online documents or shareable links so that travel companions can coordinate their plans.
The intended progression is from a travel-management tool to a more comprehensive travel assistant. The deployed MVP establishes the foundation; future AI integration would aim to reduce manual planning work and leave users more time to enjoy the trip itself.
