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.
- 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.
-
Clone the repository:
git clone https://github.com/your-username/svelte-kit-boilerplate.git cd svelte-kit-boilerplate
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file and add necessary environment variables for your authentication, database, and other services.
- Create a
-
Run the development server:
npm run dev
-
Build for production:
npm run build