Skip to main content
Reading progress: 0%

Lesson 9.2: Verifying Deployed Applications and Basic Maintenance

Lesson Quick-Jump (10 Sections)

1. What Are We Learning?​

In this lesson, you will learn how to:

  • Verify a deployed application thoroughly right after launch (smoke testing, checking logs, testing on a real phone).
  • Understand basic ongoing maintenance (monitoring errors, backing up data, updating dependencies safely, and rolling out new changes via branches).

2. Why Does It Matter?​

info

Deployment is not the finish line—it is the moment real users meet your software. Subtle problems often only appear in production: an image fails to load, a mobile layout overflows, a signup email gets blocked, or a database query runs slowly.

Knowing how to verify a live app calmly and maintain it in small safe steps keeps your product reliable long after launch day.


3. Simple Explanation for a Complete Beginner​

Think of opening a new restaurant on day one:

  • Smoke Testing: Before inviting customers inside, you flip on the lights, test the stove, flush the sink, and run one test order from start to finish. In software, a smoke test checks the live https:// URL right after deploy:
    1. Main page loads cleanly (no broken layout or blank white screen).
    2. Browser DevTools Console & Network tabs show zero unexpected errors.
    3. Core MVP flow works end-to-end (create -> refresh -> verify data stayed -> edit/delete).
    4. Mobile screen check on your actual phone!
  • Basic Maintenance: Software isn't "build once and never touch again." Maintenance means:
    • Checking server logs occasionally for new errors.
    • Keeping backups of your database before major changes.
    • Shipping future improvements through the same Phase 6–8 workflow (Branch -> Small edit -> Test locally -> PR -> Deploy), never hacking code directly on a live server.

4. Practical Example​

Post-Deploy Smoke Test Log for Bookmark Vault:

  1. Opened https://my-bookmark-vault.example.com in an incognito browser window (so cached local login data doesn't fool you).
  2. Signed up with a fresh test account -> succeeded.
  3. Saved 2 bookmarks -> refreshed browser -> both bookmarks appeared!
  4. Tested empty URL submission -> friendly inline error shown.
  5. Checked on an iPhone/Android browser over cellular data -> buttons easy to tap, no horizontal scroll.
  6. Checked hosting Runtime Logs -> 200 / 201 responses, zero unhandled exceptions.

Bonus Check: Deleted the temporary test bookmark and confirmed it disappeared cleanly.


5. Step-by-Step Instructions​

  1. Open your live HTTPS URL in an Incognito/Private browser window (so old cookies or cached files don't mask real issues).
  2. Open Browser DevTools (Console and Network) and walk through every core MVP User Story from your PRD.
  3. Test on a real mobile phone (not just shrinking your desktop browser window).
  4. Check your hosting provider's live Runtime Logs while clicking around to ensure no hidden backend warnings or 500 errors appear silently.
  5. Confirm how database backups work on your database provider (note where snapshots live and how to export/restore data).
  6. Plan your post-launch workflow: Any bug you find gets logged via templates/bug-report-template.md and fixed on a branch locally first—never rushed blindly into production.

6. Ready-to-Use AI Prompt​

Context:
I just deployed my application to production at `[URL - optional, do not share private admin links]` and want a thorough post-deployment verification and maintenance plan.
- Core MVP User Stories: [list 3-4 main flows]
- Tech stack & database: [state stack & database]

Objective:
Create a practical Post-Deploy Smoke Test Checklist and a lightweight Ongoing Maintenance routine suited for a solo beginner maintainer.

Boundaries:
- Keep maintenance practical and lightweight (no complex enterprise monitoring stacks).
- Include clear steps for rolling back or fixing safely if a live bug appears.

Expected Output:
1. Step-by-step Live Smoke Test Checklist (Browser, Mobile, Auth/Data Persistence, Logs).
2. What to do immediately if a critical bug appears right after deploy (rollback vs. branch fix).
3. Simple monthly maintenance checklist (backups, dependency security updates, log checks).

7. What to Expect from the AI Agent​

Good ResponseWarning Sign
The AI provides a clean, actionable smoke test covering incognito testing, persistence after refresh, mobile testing, error checking, and a simple rollback strategy (e.g., redeploying the previous working commit in your host dashboard).The AI proposes setting up 5 paid enterprise observability platforms for a tiny MVP, or suggests SSHing into production to manually edit files live. Always make code fixes locally through Git so your repository stays the single source of truth.

8. What You Must Personally Verify​

  • Incognito end-to-end test passed: Every MVP Acceptance Criterion works on the live URL.
  • Data actually persisted across refresh and re-login: Proves the production database connection works.
  • Real phone test passed: Layout, forms, and buttons work smoothly on a touchscreen.
  • Live logs inspected: Zero unexplained server errors or crashed requests.
  • Backup/rollback plan known: You know how to roll back to the previous deploy in your hosting dashboard if a future update breaks production.

9. Common Mistakes​

  1. Never testing the live URL after deployment finishes: "Build succeeded" only means the code compiled—not that your database, login, or forms actually work online.
  2. Testing only while logged in with old browser cache: Incognito mode catches broken login flows and missing asset errors that cached browsers hide.
  3. Making big risky updates directly on main after launch: Once real users rely on your app, branches, tests, and small PRs become more important, not less!

10. Small Practical Exercise​

  1. Run the Post-Deploy Smoke Test checklist on your live deployed app (or walk through how you would test Project 1 or Project 2 live).
  2. Write down in your project's README.md:
    • How to run the app locally
    • Required environment variables (pointing to .env.example)
    • How to run tests
    • Where it is deployed and how database backups/rollbacks work
  3. Celebrate completing all 9 phases—and check off your final milestones in PROGRESS-CHECKLIST.md!

Completed the exercise? Track your progress

Check off this lesson in PROGRESS-CHECKLIST.md once you have verified every step in Section 8.