Scaffold created successfully

Your app is ready. Start building features.

Routing, authentication, theming and the msflib modules are already wired. Create an account to try the auth flow, or log in if you already have one.

my-app

$pnpm dev

✓Ready on http://localhost:3000

Next: read docs/IMPLEMENTATION_GUIDE.md

What's included

The groundwork is done, so your team can focus on the product

Route groups

Public, auth and protected areas are separated from day one, each with its own layout.

msflib modules

Auth, workspaces and the API client are wired. Add more modules as your product needs them.

Forms and tables

FormBuilder and TableWidget handle data entry and listings with a consistent pattern.

Design tokens

Colours, typography and radii live in one theme file shared by Tailwind and Material UI.

Data fetching

TanStack Query hooks sit between your components and the API for caching and refetching.

Static export

Builds to plain static files, so it deploys anywhere: a CDN, object storage or any web server.

Next steps

From scaffold to first feature

  1. 1

    Configure your environment

    Set the API URL, token key and tenancy mode in .env.local to match your backend.

  2. 2

    Try the auth flow

    Create an account and log in to check the scaffold works against your backend.

  3. 3

    Build your first feature

    Follow the lesson example under admin/lesson: list, manage and view pages.

  4. 4

    Make it yours

    Update the theme tokens, logo and this page with your own product story.

Key files

Where things live

  • docs/IMPLEMENTATION_GUIDE.md

    Team conventions. Read this before writing code.

  • lib/application.config.ts

    API base URL, token key and workspace settings.

  • app/Provider.tsx

    Provider tree. Register msflib module providers here.

  • theme/theme.css

    Design tokens for colour, typography and radius.

  • constant/routes.constant.ts

    Every route in the app, in one place.

© 2026 MSF App. Scaffolded with @msflib/react-template.