Main application
Start a Next.js app with local sign-in and SQLite-backed briefs.
- Where it goes
my-saas/- What you can try
- Create a brief in /workspace and read it back after a reload.
Try the workspace, then give Codex or Claude Code the prompt to build it in your project.
Try editing a brief in this preview of the starter workspace.
Explore three starter workflows as an interactive deck. Open a case to inspect the example and reuse its interaction.
WorkspaceArrange the core of a project workspace around a brief and its activity feed.
Project brief · Activity · OwnerDrag or swipe to browse. Use the left and right keys when the deck has focus.
Follow the main application prompt from an empty directory to a saved brief and a tested feature module.
Host and subapp guidePaste the main app prompt into Codex or Claude Code. Review the file list together. Once the agent creates my-saas, these commands install dependencies and generate the reports module.
cd my-saas
npm ci
npm run subapp -- modules/reportsFrom my-saas, enable local development with the example configuration. Open 127.0.0.1:3000, sign in, create a launch brief and edit its title. Reload to see the title you saved in SQLite.
test -e .env.local || cp .env.example .env.local
npm run devStop the dev server. Check reports independently, then test and build its host. The mounting guide shows how to expose the module at /reports.
npm --prefix modules/reports test
npm test
npm run buildStarting a new product? Use the main app. Extending a host? Use the subapp. Paste its prompt into your coding agent to begin.
Start a Next.js app with local sign-in and SQLite-backed briefs.
my-saas/Add a React feature to an existing host and run its tests independently.
modules/reports/Already have a workspace? Try saving a note with the command palette, then copy its prompt to add that interaction to your React app.
Find a command and run it from the keyboard.
Combine filters and watch the results change.
Select a group, apply a change, then undo it.
Both templates include AGENTS.md and the same five guides in engineering/. Start with the one that matches the change.
spec.mdgit.mddatabase.mdtest.mdrelease.mdThe main app uses Next.js App Router, React and local SQLite. Use Node.js 24.14 or later and npm. The child and the three interactions can also be added to an existing React host.
You can inspect the files and run the local walkthrough without signing in to LAYQ. Paste the instructions into your own Codex or Claude Code session. The generated workspace has a separate local demo sign-in.
The files are written to your project. You choose the repository, hosting provider and release process. Any hosting charges go through your provider account.
In the local workspace you can create a test order, replay its signed receipt and unlock a private report. Taking real payments requires your own merchant account and production integration.
Installation stops before writing into an occupied destination, even an empty directory. Choose a new directory, inspect the proposed files and install the reviewed revision there.