App shell starter module
Shared library
Validated settings, shared types, page metadata helpers, and the single storage adapter behind every module.
- Files
- 5
- Lines
- 276
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/lib/app-adapter.ts
The seam between this shell and your application's own storage.
TypeScript
93 lines
src/lib/demo-store.ts
In-memory account storage so the shell runs before any database exists.
TypeScript
53 lines
src/lib/env.ts
Reads and validates the settings your app needs at startup, in one place.
TypeScript
56 lines
src/lib/seo.ts
Builds consistent page details for search engines and shared links.
TypeScript
43 lines
src/lib/types.ts
Shared types for the app shell: who is signed in and what their account holds.
TypeScript
31 lines