Skip to content

gskril/todo

Repository files navigation

Todo

Simple PWA to keep track of todos. Built with React, Vite, Typescript, Tailwind, shadcn/ui, and Supabase.

CleanShot 2023-12-25 at 01 13 21

Prompted by @cameron on Farcaster.

How to run locally

Requirements: Node.js, Yarn, Docker, Supabase CLI

In the project directory, create a local Supabase instance. This will create all the tables for you.

supabase start

Create a .env file to configure Supabase with the CLI output values.

cp .env.example .env

Install dependencies.

yarn install

Run the app.

yarn dev

How to deploy

Create a new Supabase project from their dashboard (or CLI), then connect to it from the CLI.

supabase link --project-ref <project-id>

Push our local database schema to the remote database.

supabase db push

In the Supabase dashboard, navigate to Authentication > Providers and follow these instructions to set up Google OAuth.

Lastly, update your deployed Site URL in the Supabase dashboard under Authentication > URL Configuration.

About

Stupid simple, mobile first PWA to keep track of todos

Resources

Stars

Watchers

Forks