LEARN. PRACTICE. EXPLAIN.
Learning paths & interview practiceP
← All projects
GUIDED FULLSTACK PROJECT · 6–8 hours

Build a support-ticket app

Deliver a complete feature with a browser interface, authenticated API, SQLite database and role-aware ticket workflows.

Your brief

Create, view and update support tickets. Enforce customer ownership and staff permissions, add search and pagination, and test the entire browser → API → database flow.

Start with the backend login and frontend dashboard projects, JavaScript async functions, and basic SQL. Review fullstack foundations whenever a concept is unfamiliar.

The local app uses four seeded fake accounts and persistent SQLite storage. Sessions last 15 minutes. Customer/staff roles and organizations are assigned on the server. This is a local learning app; use demo data only.

Save all seven starter files in one folder. Use Node.js 22.13+ with built-in SQLite (older supported runtimes may print an experimental warning). Run checks as you implement each step; after initializing the schema, run node server.mjs and open http://127.0.0.1:3212. The browser is complete after step 6. Data is saved in tickets.sqlite in the current folder.

0 / 6 steps verified by you. Checks are self-reported; this website does not execute your code.

  1. 1

    Define the database and request contract

    Use real constraints and clear validation errors.

  2. 2

    Create a ticket and keep it after restart

    Follow a request from the browser to durable storage.

  3. 3

    Enforce ownership and staff permissions

    Evaluate the requested record against trusted server identity.

  4. 4

    Update tickets without losing newer edits

    Authorize changes and reject stale versions.

  5. 5

    Add scoped search, filtering and pagination

    Keep list results authorized and bounded.

  6. 6

    Connect the browser and prove the full flow

    Create and edit tickets through the API, then explain the architecture.

AlifBay Prep