Svelte Convex Auth
A modern authentication system built with SvelteKit and Convex, featuring:
- 🔐 Secure JWT-based authentication
- 📱 Real-time data synchronization
- 🎨 Modern UI with Tailwind CSS
- 🔄 Session management
- ✨ Todo list demo application
Setup
Install dependencies:
npm install
Set up environment variables:
Create a .env
file with:
JWT_SECRET=your_jwt_secret
JWT_EXPIRES_IN=3600
PUBLIC_CONVEX_URL=your_convex_url
Run the development server:
npm run dev
Features
- Secure authentication with JWT tokens
- Real-time data updates using Convex
- Session management and persistence
- Modern, responsive UI
- Todo list demonstration
Tech Stack
- SvelteKit
- Convex
- TypeScript
- Tailwind CSS
- JWT Authentication