这是indexloc提供的服务,不要输入任何密码
Skip to content

insuusvenerati/hello-free-shavacado

 
 

Repository files navigation

CI Vercel Commitizen friendly

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Install dependencies:

  • node version 14
  • yarn
  • brew install supabase/tap/supabase

Clone the project

git clone https://github.com/insuusvenerati/hello-free-shavacado

Setup authentication

Sign up for Clerk at https://clerk.dev/

Create a new app using passwordless authentication (or whatever providers you want)

App Creation

Create a Supabase JWT Template in Clerk

Go to your Clerk dashboard, and navigate to JWT Templates. Press "New Template" then select the "Supabase" template to get started.

alt

This will populate a template with most of what you need. You will still need to:

Use Signing algorithm: HS256

Copy your Supabase JWT Secret into "Signing key"

Note: Locally, when using the supabase cli, the signing key is super-secret-jwt-token-with-at-least-32-characters-long. Hopefully this value will be configurable in future versions of the supabase cli.


Start supabase services

yarn s:start

Run locally

Finally, run the development server:

yarn install
yarn dev

Open http://localhost:3000 with your browser to see the result.

TODO

  • Integrate NestJS backend
  • Production instructions
  • Docker deployment
  • Kubernetes deployment

About

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •