Username - Password Authentication with Lucia-Auth

This project demonstrates how to implement Username-password authentication using Lucia-Auth and the SvelteKit full-stack framework. It also utilizes the Shadcn-Svelte CSS library for styling, Lucide-Svelte for icons, Drizzle ORM, Supabase for storing data.

Tech Framework & Library

Topic Frameworks
Full Stack Sveltekit 🔥
Auth Lucia-Auth
CSS Shadcn-Svelte
Database Supabase
ORM Drizzle ORM ✨

Website Demo

Live Preview

  https://auth-lucia.vercel.app

Getting Started

  1. Clone the repository:

    git clone https://github.com/SikandarJODD/Auth-Lucia
    
  2. Install the dependencies:

    cd auth-lucia
    npm install
    
  3. Configure the environment variables:

    Create a .env file in the root directory and add the following variables:

    DATABASE_URL = ''
    
  4. Run the application:

    npm run dev
    
  5. Open your browser and navigate to http://localhost:5173 to see the application in action.

Features

  • User registration with Username and password
  • User login with Username and password

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes