SikandarJODD / Auth-Lucia

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

Home Page:https://auth-lucia.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://auth-lucia.vercel.app

License:MIT License


Languages

Language:Svelte 56.0%Language:TypeScript 30.2%Language:JavaScript 6.2%Language:HTML 4.0%Language:CSS 3.6%