Skip to content
Next.js · SQLite

A SaaS starter
for your repo.

Try the workspace, then give Codex or Claude Code the prompt to build it in your project.

Try the studio
FieldworkLocal demo

Project briefs

Changes reset on reload.Tested setup

Try editing a brief in this preview of the starter workspace.

Build a project brief workspace

Follow the main application prompt from an empty directory to a saved brief and a tested feature module.

Host and subapp guide
  1. Create the host and its first extension

    Paste 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/reports
  2. Save a brief and reload the page

    From 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 dev
  3. Check the child on its own

    Stop 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 build

Choose a starter.

Starting a new product? Use the main app. Extending a host? Use the subapp. Paste its prompt into your coding agent to begin.

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.

Mountable subapp

Add a React feature to an existing host and run its tests independently.

Where it goes
modules/reports/
What you can try
Mount the activity view at /reports with the host’s name, theme and locale.
Host and subapp guide

Try the interactions.

Already have a workspace? Try saving a note with the command palette, then copy its prompt to add that interaction to your React app.

Command palette

Find a command and run it from the keyboard.

Open preview

Faceted filter

Combine filters and watch the results change.

Open preview

Bulk actions

Select a group, apply a change, then undo it.

Open preview

What your agent can read

Both templates include AGENTS.md and the same five guides in engineering/. Start with the one that matches the change.

spec.md
Define the goal, exclusions and acceptance cases.
git.md
Choose a branch and describe the change for review.
database.md
Plan a schema migration, isolated test data and rollback.
test.md
Separate unit, integration and smoke checks.
release.md
Record a version, test a preview and prepare rollback.

Before you start

About LAYQ
Which stack does this work with?

The 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.

Do I need a LAYQ account?

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.

Who controls the source and hosting?

The files are written to your project. You choose the repository, hosting provider and release process. Any hosting charges go through your provider account.

Can the starter take a payment?

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.

What happens if the destination already exists?

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.