cwdevteam / mesa

https://mesa-wallet.vercel.app
2 stars 1 forks source link

Mesa

The Mesa project consists of a full-stack Next.js app built with Supabase and Ethereum Attestation Service (EAS).

Project Structure

The project is structured as follows:

Contributing

  1. If needed, request access to the Mesa project on Supabase: https://supabase.com/dashboard/project/ewvzsofyvxcctuxxqibo

  2. If you haven't already, setup Docker for local development: https://www.docker.com/get-started/

  3. Clone this repository to your local machine and install the dependencies:

git clone https://github.com/cwdevteam/mesa.git
cd mesa && pnpm i
  1. Rename .env.local.example to .env.local and update the following:
NEXT_PUBLIC_SUPABASE_URL=[INSERT SUPABASE PROJECT URL]
NEXT_PUBLIC_SUPABASE_ANON_KEY=[INSERT SUPABASE PROJECT API ANON KEY]

Both NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY can be found on the Supabase API settings page.

  1. You can start the local database and development server with the following commands:
pnpm db:start
pnpm dev

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

See the Supabase local development guide for more information.

  1. Email authentication for local development:

Supabase provides a local mailbox for email authentication, called Inbucket. After starting the local database, you can access Inbucket via http://localhost:23454 to receive auth emails and sign-in links.