Backend foundations
Understand requests, authentication, sessions, tokens, and access control. Then build and test a small authentication model.
Before you begin
Basic variables, functions, and objects. Examples use JavaScript and HTTP; the concepts apply across backend languages.
Read in order or revisit a lesson. Examples identify whether they are runnable snippets, sketches, or pseudocode. Each lesson has a knowledge check and a self-assessed exercise.
Loading your progress…
Put these concepts to work
Build a working project in six guided steps, test its behavior, and prepare your interview explanation.
Start the guided project: Build a login system- 1
What does a backend do, and who is making the request?
About 12 minutes + exercise
- 2
How do signup and password verification work?
About 15 minutes + exercise
- 3
What is a session? What is a token?
About 14 minutes + exercise
- 4
How do you stay logged in after a refresh?
About 15 minutes + exercise
- 5
How do you implement login and protect an endpoint?
About 20 minutes + exercise
- 6
How do expiration, refresh, and logout work?
About 18 minutes + exercise
- 7
How do roles, permissions, and ownership work?
About 14 minutes + exercise
- 8
How do you test the whole authentication flow?
About 20 minutes + exercise