Build the core skills · 09 / 15
Ship an application another person can use
Turn the project into a service someone can run without you narrating every step. Start with one application, one database and one hosting environment. Keep infrastructure proportional to the problem.
The deployment ladder
- Make the local setup reproducible: dependency lockfile, example configuration without secrets, setup commands and a small sample dataset.
- Add an API health check and structured logs with request IDs. Test provider timeouts, invalid input and database failure.
- Keep secrets server-side. Add authentication and enforce document access in application code if the system contains private data. A prompt is not an authorization mechanism.
- Add request limits, bounded retries, maximum tool steps, output limits and a cost budget. Include a graceful fallback when a dependency is unavailable.
- Package the app, deploy it using the host’s current documentation, and verify it from a second device or clean browser session.
- Keep a previous working version and write a rollback procedure. Ask one or two people to try the intended workflow and record what they could not complete.
What belongs in the README
- Problem and intended user; a short demonstration.
- Architecture, data sources and setup instructions.
- How to run tests and evaluations; actual results with sample sizes.
- Known limitations, costs, data retention and deletion behavior.
- Deployment, monitoring and rollback instructions.
A useful failure drill
Pretend the model provider is unavailable for five minutes. Your app should show a useful state, avoid endless retries and preserve the user’s work. Now repeat with an empty retrieval index. Explain how you would notice the problem and restore service.
Use FastAPI: Tutorial ↗ as a current implementation reference and Docker: Get started ↗ when you need reproducible packaging. Watch Full Stack LLM Bootcamp: LLMOps ↗ for lifecycle ideas; it was recorded in 2023, so current host and SDK documentation takes precedence.
A second person can run or access the app, the main workflow survives a failed dependency, and you can demonstrate logs, a cost limit and a rollback.
Your lesson resources
Download these files to follow along and put the lesson into practice.