Welcome to the Astro + Lucia Auth template! Your complete starter kit for modern web applications.
Blazing-fast static site generation
Secure session-based authentication
Type-safe database access
Rapid, modern UI styling
Interactive components ready to use
Create a new account or log in with existing credentials through our secure forms.
Lucia Auth securely manages your session using HTTP-only cookies for maximum security.
Access protected features and pages with automatic session validation and middleware protection.
Clean session termination with proper cookie cleanup and redirect handling.
Choose your path to begin using the authentication system
Check the src/
directory for all source files
Set up your database and environment variables
Extend and modify to fit your project needs
Check .env.example
for required variables
Run npm run db:push
to set up your database
Read README.md
for detailed setup instructions
Modify components in src/components/