Lessons 11-15 | Full-Stack Module

Frontend and Backend: The Full Picture

Map the browser, server, and database responsibilities before building a leaderboard system.

Lesson 1245 mincourse modulepaid enrollment

Learning objective

Separate browser, server, and storage responsibilities clearly.

Lab outcome

Draw and implement the first full-stack boundary.

Module milestone

Build a small full-stack leaderboard with persistent data.

Phase 1

Mission briefing

Before You Study (5 mins)

Lesson focus: Every major app is split into two parts: The Face (Frontend) and the Brain (Backend). To build a leaderboard, we need a Brain.

What you should have ready:

  • Your Snake Game (Frontend)
  • A new folder for your Backend

Quick Concepts

TermSimple Meaning
FrontendHTML/CSS/JS (Runs in user's browser)
BackendNode/Express (Runs on the server)
ClientThe user (Phone/Laptop)
ServerThe computer waiting for requests

Think About

Before studying, consider:

  1. Why can't the Frontend save high scores? (Because if I delete the app, the score is gone! We need a central place.)
  2. How do they talk? (Through the language we learned in Ep 8 & 9: JSON and APIs!)

By the End

After this lesson, you'll:

  • ✅ Understand Full-Stack Architecture
  • ✅ Set up a simple Backend server
  • ✅ Connect your Frontend to your Backend

Let's build the brain! 🧠