Skip to content
/ Auth-Lucia Public template

Lucia Auth using Sveltekit, Drizzle ORM, and Superform for Validation with Shadcn-Svelte

License

Notifications You must be signed in to change notification settings

SikandarJODD/Auth-Lucia

Repository files navigation

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

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

Credits:

  1. Lucia Auth
  2. Username-Password Tutorial
  3. Pilcrowonpaper --Twitter

License

This project is licensed under the MIT License.