antony / sapper-authentication-demo

A demonstration of Auth with Sapper + JWT + Server Side Rendering + RBAC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sapper Authentication Demo

A demonstration of Authentication with Sapper. This example is intentionally simple, but demonstrates a basic auth flow with JWT, secure cookies, and Sapper.

Includes:

  • JWT
  • Secure cookies
  • HTTP Only cookies

Installing

cd server
npm i
cd ..
npm i

Usage

npm run dev

About

A demonstration of Auth with Sapper + JWT + Server Side Rendering + RBAC


Languages

Language:JavaScript 64.7%Language:Svelte 25.6%Language:HTML 6.2%Language:CSS 3.5%