sveltekit-sqlite-auth-template Svelte Themes

Sveltekit Sqlite Auth Template

template for self-made authentication in SvelteKit with a SQLite database

SvelteKit SQLite Authentication Template

This repository provides a basic template for self-made authentication in SvelteKit backed with a SQLite database. The app has these pages:

  • homepage
  • register
  • login
  • account (for authenticated users)
  • dashboard (for authenticated users)

Screenshots


register page    login page

account page    dashboard page

Users table

CREATE TABLE IF NOT EXISTS users (
    id INTEGER PRIMARY KEY,
    username TEXT NOT NULL UNIQUE,
    password_hash TEXT NOT NULL,
    created_at TEXT NOT NULL DEFAULT current_timestamp
);

Top categories

Loading Svelte Themes