You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv tool install simple_module_cli # already installed? uv tool upgrade simple_module_cli
smpy new myapp --yes
cd myapp
make dev # API on :8000, Vite on :5050
Then in another terminal, inside myapp:
smpy create-module orders --dest modules/orders
smpy add ../modules/orders --path host
make migration msg="add orders tables"# review the generated revision
make migrate
That generates modules/orders/ with a ModuleMeta, a SQLModel table, contracts, a service, REST + Inertia endpoints, three React pages, locales, and a smoke test, wires it into the host and creates its table; the dev server picks it up when it reloads. The full walkthrough is in Your first module.