Skip to main content
All tracks
Back End and Full Stack

Full-Stack Project Walkthrough

This walkthrough ties the whole Web Development track together by planning a small Notes app.

1. Requirements​

Must haveNice to have
Sign up and log inTags and search
Create, edit, delete notesMarkdown preview
Notes visible only to their ownerDark mode

2. Data model​

users(id, email, password_hash, created_at)
notes(id, user_id -> users.id, title, body, created_at, updated_at)

3. API design​

Method and pathPurpose
POST /api/auth/registerCreate account
POST /api/auth/loginStart session
GET /api/notesList own notes (paginated)
POST /api/notesCreate note
PATCH /api/notes/:idUpdate note
DELETE /api/notes/:idDelete note

See REST APIs and Authentication.

4. Repository layout​

notes-app/
server/
src/ (routes, controllers, services, middleware)
tests/
client/
src/ (components, pages, hooks, api.js)
docker-compose.yml
README.md

5. Build order​

  1. Backend skeleton: Express, health route, config from env.
  2. Database: schema + migrations, connection pool.
  3. Auth: register/login, hashed passwords, session cookie.
  4. Notes API: CRUD with ownership checks and validation.
  5. Front end: pages (login, notes list, editor), a small API client, loading and error states.
  6. Tests: unit tests for services, API tests for auth and ownership, one end-to-end flow.
  7. Deploy: containerise, set environment variables, run migrations, add CI.

6. Definition of done​

  • A new user can register, create, edit and delete notes
  • Another user cannot read or edit those notes (verified by a test)
  • Empty and long inputs are validated on client and server
  • README with screenshots, setup steps and a live link
  • CI passes (lint, tests, build)

7. What to say in an interview​

Describe the problem, your data model, one trade-off (for example sessions vs JWT), the hardest bug and what you would improve next (caching, full-text search, offline support).

TIP

Ship the smallest version first. A working, deployed app with three features beats a half-built app with ten. Then see Portfolio and README guide.

Finished reading?

Mark it complete to track your progress across the docs.

Questions and discussion

Stuck on something here, or found a clearer way to explain it? Start a thread.

All discussions
  • Ask a question or share what helped
  • React to useful answers
  • Sign in with GitHub to post

Comments are stored in GitHub Discussions and shown here by giscus. PrepVerse never sees your GitHub password.