About Bible API

A comprehensive kitchen sink template for SvelteKit applications with Keycloak authentication, theme management, and production-ready components.

🔐 Authentication

Integrated Keycloak authentication with secure token handling and session management.

🎨 Theme System

Light/dark mode with persistent preferences and smooth transitions.

⚛️ Components

Pre-built UI components: buttons, inputs, modals, accordions, spinners, and more.

Ready to build?

Check out the component kitchen sink to see all available UI elements

Project Structure

  • 📁 /src/routes - Page routes
  • 📁 /src/lib/components - Reusable components
  • 📁 /src/lib/stores - Svelte stores
  • 📁 /src/lib/api - API client

Quick Start

  • ✅ Configure Keycloak in .env
  • ✅ Review components in kitchen sink
  • ✅ Copy components as needed
  • ✅ Customize theme in Tailwind config

Environment Variables

Configure these in your .env.local file:

  • VITE_KEYCLOAK_URL=https://your-keycloak-server
  • VITE_KEYCLOAK_REALM=your-realm
  • VITE_KEYCLOAK_CLIENT_ID=your-client-id
  • VITE_KEYCLOAK_CLIENT_SECRET=your-client-secret
  • VITE_AUTH_REDIRECT_DOMAIN=https://your-app-domain
  • VITE_LOGIN_REQUIRED=true (set to false for debugging)