๐Ÿšข
๐Ÿ“ Deploying & Running Your App ยท DEPLOY-101 ยท Assignments

Deploying & Running Your App โ€” Assignments

Work each problem yourself first, then open the worked solution to check your thinking. This is where the course sticks.

๐Ÿ“ 5 problemsโœ๏ธ Worked solutions
Problem 1

Explain, in your own words, what deployment is and why your laptop isn't enough.

Show worked solution

A strong answer describes moving the app to an always-on, internet-reachable server (vs a laptop that's off/private/just yours), and captures the model: code on a server, with what it needs, kept running, reachable at a domain.

Problem 2

Describe how you'd handle configuration and secrets across environments.

Show worked solution

Good answers keep one codebase reading settings from configuration (env vars / a .env file) per environment, never hard-coding, with secrets in the environment (not code/Git) - as larzenv and GIT-101 set up.

Problem 3

Outline the steps to get a simple app online, including domain and HTTPS.

Show worked solution

Strong answers pick a platform (PaaS) for a first deploy, connect a Git repo to build/run it, set config in the dashboard, point a domain via DNS (or use a free subdomain), and enable HTTPS (often automatic) - repo to secure URL.

Problem 4

Explain how you'd know your live app is healthy and cope when things fail.

Show worked solution

Good answers use logging for visibility (events/errors with context, sensible levels - larzlog), monitoring to be alerted to problems, and resilience: retry transient failures / circuit-break dead deps (larzretry), rate-limit abuse (larzratelimit).

Problem 5

Explain why deploying small and often is safer, and what makes it sustainable.

Show worked solution

Strong answers explain small deploys carry little risk and make any problem easy to pinpoint, versus big rare releases; and cite automation (CI/CD runs tests + deploys) and fast rollback as what make frequent releasing routine and calm.

More in this course

Course home → · Browse all courses →