https://github.com/sikandarjodd/auth-lucia
Lucia Auth using Sveltekit, Drizzle ORM, and Superform for Validation with Shadcn-Svelte
https://github.com/sikandarjodd/auth-lucia
auth drizzle-orm email-password-authentication lucia lucia-auth lucide-svelte superforms sveltekit
Last synced: 6 months ago
JSON representation
Lucia Auth using Sveltekit, Drizzle ORM, and Superform for Validation with Shadcn-Svelte
- Host: GitHub
- URL: https://github.com/sikandarjodd/auth-lucia
- Owner: SikandarJODD
- License: mit
- Created: 2024-01-31T17:26:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-01T20:28:52.000Z (over 1 year ago)
- Last Synced: 2025-03-25T21:14:08.500Z (7 months ago)
- Topics: auth, drizzle-orm, email-password-authentication, lucia, lucia-auth, lucide-svelte, superforms, sveltekit
- Language: Svelte
- Homepage: https://auth-lucia.vercel.app
- Size: 116 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)
```
https://auth-lucia.vercel.app
```## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/SikandarJODD/Auth-Lucia
```2. Install the dependencies:
```bash
cd auth-lucia
npm install
```3. Configure the environment variables:
Create a `.env` file in the root directory and add the following variables:
```bash
DATABASE_URL = ''
```4. Run the application:
```bash
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](https://lucia-auth.com)
2. [Username-Password](https://lucia-auth.com/tutorials/username-and-password/) Tutorial
3. [Pilcrowonpaper](https://twitter.com/pilcrowonpaper) `--Twitter`## License
This project is licensed under the [MIT License](LICENSE).