A modern minimalist authentication solution built with SvelteKit, featuring:
First, install dependencies:
pnpm install
Start the development server:
pnpm run dev
# or open in browser automatically
pnpm run dev -- --open
pnpm run build
Preview the production build:
pnpm run preview
This project uses the @sveltejs/adapter-node
for Node.js deployment. You may need to install other adapters for different environments.
Key files and directories:
src/routes/
- Contains all page routessrc/lib/
- Shared components and utilitiessrc/lib/api.ts
- API endpointssrc/lib/session.ts
- Session management