Search KetJS

Search titles, descriptions, and section headings.

    Diagram

    100%
    Drag to pan · Scroll or pinch to zoom · + / − to zoom · Arrow keys to pan · 0 to fit · 1 to reset
    ← All examples

    EXAMPLES

    Notes application

    A SQLite-backed application with a module, model, function, migration, and HTTP route.

    Create the application#

    # Run from: /path/to/projects
    npx -y @ketvietlab/ketjs@latest new notes
    cd notes
    npm install
    npm run dev

    Open http://127.0.0.1:3000. The first boot composes the declared modules and applies their schema.

    Explore the generated code#

    The scaffold includes ket.workspace.ts, modules/notes.ts, and a deployment test. Follow the quick start for the full walkthrough, then inspect the testing guide to extend its coverage.