morlinbrot / supa-fresh-auth

Example app implementing a simple authentication scheme built with Fresh, Supabase and Redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supa Fresh Auth

An example app built with Deno's Fresh framework, using Supabase and Redis to implement a simple cookie-based authentication scheme.

Here's an article I wrote about building this.

Consider leaving me a star!

Github Repo Stars

Usage

You need to have Redis installed and a Supabase project set up.

Create a .env file with the following variables:

SUPABASE_URL=https://<projectName>.supabase.co
SUPABASE_KEY=<api_key>

Run the app:

deno task start

This will watch the project directory and restart as necessary.

About

Example app implementing a simple authentication scheme built with Fresh, Supabase and Redis


Languages

Language:TypeScript 100.0%