svelteConvexAuth Svelte Themes

Svelteconvexauth

Very simple JWT Authentication for Convex-Svelte Projects

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

  1. Install dependencies:

    npm install
    
  2. Set up environment variables: Create a .env file with:

    JWT_SECRET=your_jwt_secret
    JWT_EXPIRES_IN=3600
    PUBLIC_CONVEX_URL=your_convex_url
    
  3. 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

Top categories

Loading Svelte Themes