supabase-auth
Run locally
- Create a supabase account here https://app.supabase.com/
- Copy
.env.example
to.env
and fill in the values from your supabase dashboard and add the moralis api key - Open
public/script.js
, and fill in the values (located at the top of the file) from your supabase dashboard - Run
yarn dev
to run the server locally
Now your server is running locally with the following endpoints:
- Client:
localhost:3000
(or any other port you set in.env
) - API:
localhost:3000/api
(or any other port you set in.env
)
Now you can authenticate via MetaMask as long as you have the MetaMask browser extention installed in the browser.