Giter Club home page Giter Club logo

waiting-list's Introduction

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

Note: the @next is temporary

Developing

Copy the env.example and name it .env

Edit the file and enter all the required variable values

VITE_APP_URL=http://localhost:3000/
VITE_SUPABASE_URL=
VITE_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, start a development server:

pnpm dev

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

Building

Before creating a production version of your app, install an adapter for your target environment. Then:

pnpm build

You can preview the built app with pnpm preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.

waiting-list's People

Contributors

silentworks avatar hxu296 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.