Vite + React starter that consumes the metacore SDK modularly. Use this as the source of truth when bootstrapping a new app in the metacore ecosystem — clone, rename, build.
- Build: Vite +
@asteby/metacore-starter-config(defineMetacoreConfigpreset) - Framework: React 19 + TypeScript
- Routing: TanStack Router
- Data: TanStack Query
- Styling: Tailwind v4 +
@asteby/metacore-theme - UI primitives:
@asteby/metacore-ui(shadcn-derived, RTL-aware) - Auth pages + store:
@asteby/metacore-auth - i18n:
@asteby/metacore-i18n(i18next under the hood)
- Auth flow:
/sign-in,/sign-up,/forgot-password,/otp(wired to@asteby/metacore-auth/pages— wireonSubmitto your backend). - Authenticated shell:
AppShellconsumesAuthenticatedLayout+AppSidebar+Header+ProfileDropdownfrom@asteby/metacore-ui/layout. - Minimal dashboard placeholder.
- Settings: profile, appearance (theme + font), notifications.
- Error pages: 401, 403, 404, 500, 503 — all from
@asteby/metacore-ui/error-pages.
pnpm install
pnpm devOther scripts:
pnpm typecheck— TypeScript checkpnpm lint— ESLintpnpm build— production build (runstsc -b && vite build)pnpm preview— serve the build
- Update the brand name & logo in
src/components/layout/app-shell.tsx,src/assets/logo.tsxand the auth route components. - Replace the
onSubmitstubs insrc/routes/(auth)/*.tsxwith real backend calls (see@asteby/metacore-auth/api-client). - Add navigation entries in
src/components/layout/app-shell.tsx(navGroups). - Drop your features in
src/features/and routes insrc/routes/_authenticated/. - Translation strings live in
src/i18n/locales/{en,es}.json. The base SDK strings are merged from@asteby/metacore-i18n/locales.