Skip to content

jsjg-8/svelte-kit-boilerplate

Repository files navigation

Svelte-Kit Boilerplate

Svelte-Kit Boilerplate User Interface Welcome to the Svelte-Kit Boilerplate! This project is an updated and enhanced version of the original Sveltekit Auth. It provides a robust foundation for building modern web applications with Svelte-Kit, complete with authentication, UI components, and more.

Features

  • Authentication: Utilizes Lucia for robust authentication.
  • UI Components: Leverages shadcn-svelte for beautifully designed UI elements.
  • Icons: Includes Lucide for scalable and customizable icons.
  • Database Connectivity: Uses Drizzle for efficient and type-safe database interactions.
  • Form Management: Employs Superforms and Zod for form validation and management.
  • Email Features: Supports email verification, password reset, and email re-verification on changes. Supports mailtrap, SES, mailgun, and SMTP.
  • User Roles: Implements a user role system.
  • Profile Management: Allows users to edit their profiles, including changing email addresses and passwords.
  • Themes: Supports light and dark modes.
  • Logging: Integrated error logging system using Axiom.
  • OAuth: Provides a Google OAuth login example.
  • Performance: Achieves excellent scores on Google PageSpeed Insights.

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/svelte-kit-boilerplate.git
    cd svelte-kit-boilerplate
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Create a .env file and add necessary environment variables for your authentication, database, and other services.
  4. Run the development server:

    npm run dev
  5. Build for production:

    npm run build