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.
Topic | Frameworks |
---|---|
Full Stack | Sveltekit 🔥 |
Auth | Lucia-Auth |
CSS | Shadcn-Svelte |
Database | Supabase |
ORM | Drizzle ORM ✨ |
https://auth-lucia.vercel.app
-
Clone the repository:
git clone https://github.com/SikandarJODD/Auth-Lucia
-
Install the dependencies:
cd auth-lucia npm install
-
Configure the environment variables:
Create a
.env
file in the root directory and add the following variables:DATABASE_URL = ''
-
Run the application:
npm run dev
-
Open your browser and navigate to
http://localhost:5173
to see the application in action.
- User registration with Username and password
- User login with Username and password
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- Lucia Auth
- Username-Password Tutorial
- Pilcrowonpaper
--Twitter
This project is licensed under the MIT License.