Skip to content

davoweb3/waiting-list

 
 

Repository files navigation

Waiting List App

Example Supabase application showing how to use the inviteUserByEmail api to invite users to your application.

This project is built with:

Features

  • Invite List
  • Sign Up to Invite
  • Forgot Password
  • Admin Registration

Getting started

Clone the project from GitHub

git clone https://github.com/silentworks/waiting-list
cd waiting-list

Developing

Copy the env.example and name it .env

Edit the file and enter all the required variable values

PUBLIC_SUPABASE_URL=
PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
CONNECTION_STRING=

The "CONNECTION_STRING" can be found inside the Supabase Dashboard by going to Settings > Database then scrolling down to Connection string and clicking on the URI tab. You should see a string looking like postgresql://postgres:[YOUR-PASSWORD]@host:5432/postgres.

Run database migrations

pnpm m:up

Creating admin user

Once the project server is running you can visit the signup path /auth/signup to create your admin user.

Note that once you have created your admin user, this route will no longer be accessible.

Start development server

Once you've created a project and installed dependencies with pnpm install (or npm install or yarn), start a development server:

pnpm dev

# or start the server and open the app in a new browser tab
pnpm dev -- --open

Building

To create a production version of your app:

pnpm build

You can preview the production build with pnpm preview.

To deploy your app, you may need to install an adapter for your target environment.

About

A Waiting list application built on Supabase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 39.9%
  • TypeScript 35.2%
  • JavaScript 14.2%
  • HTML 4.8%
  • PLpgSQL 3.9%
  • Dockerfile 2.0%