Skip to content
D0Level 3 · MakerUnder the hoodAbout 85 minutes of lessons

Developer Safety Basics

Protect your keys, your projects and your users before you publish anything.

Suits
Anyone who has built a small web app and wants to start using real developer tools safely.
Where it fits
Level 3, Maker (13+): Work like a developer: real React projects with tests in the Maker Studio, a real repo, branches, pull requests and code review, plus safety habits for keys, secrets and dependencies. This course is in Under the hood: The concepts and tools behind an app: files, front end and back end, data, APIs, Git, hosting and deployment.

What you'll be able to do

  • Explain what API keys and tokens are and why they must never appear in code, chats or screenshots.
  • Describe what to do if a secret leaks: tell an adult, revoke or rotate it, and check for misuse.
  • Apply least privilege by choosing the smallest permissions a tool or key needs.
  • Use versions and backups so mistakes can be undone.
  • Publish safely using previews, tests, rollbacks and a clear idea of who can see a site.

Lessons

  1. 1. Secrets: keys, tokens and passwords

    20 min

    What API keys and tokens are, where they belong, and what to do if one leaks.

  2. 2. Permissions and least privilege

    20 min

    Give every tool, key and token only the access it needs: scopes, read versus write, and expiry.

  3. 3. Backups, versions and undo

    20 min

    Save versions so any mistake, including one made by an AI helper, can be undone. A first look at Git.

  4. 4. Safe deploys: previews, tests and rollbacks

    25 min

    Publish carefully: test on a preview, check who can see it, and know how to roll back.

How it's assessed

  • Explains why secrets must stay on a server and never appear in code, chats or screenshots.
  • Describes the correct response to a leaked key (tell an adult, revoke or rotate, check for misuse).
  • Chooses least-privilege permissions for a described task.
  • Uses versions before risky changes and writes clear snapshot messages.
  • Follows the preview, test, publish, roll back routine and checks for personal information.

To complete the course

  • Pass all four lesson checks (70% or more).
  • Complete the token builder and deploy simulator activities.

Notes for parents, guardians and teachers

  • D0 uses only Amphicode's sandbox. No third-party accounts, keys or payment details are needed.
  • The keys shown are fake (for example "demo-not-a-real-key"). Learners are told never to share real keys and to tell an adult if one leaks.

What comes next

  • V7: Launch a Real App · Give your Studio app a real database and sign-in, test it like a user, keep its secrets out, and put it on the internet — with a way back if something goes wrong.
  • D1: Terminal & Project Setup · Meet the command line and set up a real project the way developers do.
  • F1: Subscriptions vs API Usage · How AI coding tools are paid for, how Amphicode's AI works, and the different ways professional tools run.

A parent, guardian or teacher creates the account. A short placement check suggests where each learner starts.