The Walrus Photo Booth is a web application for event organizers to be able to set up a photo booth at an event. It enables administrators to set up a photo booth at events where attendees can capture and upload their photos to the blockchain using Walrus. Each event has their own photo gallery.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
To configure the application, you need to set up environment variables. Follow these steps:
-
Create a
.envfile: Copy the.env.examplefile to a new file named.envin the root of your project directory.cp .env.example .env
-
Fill in the required values: Open the
.envfile and provide the necessary values for each variable. Here is a brief description of each:NEXT_PUBLIC_SUPABASE_KEY: supabase api keyNEXT_PUBLIC_SUPABASE_URL: the url for your supabase instanceNEXT_PUBLIC_SUI_NETWORK: the network for sui (RPC)NEXT_PUBLIC_SUI_NETWORK_NAME: the name of the Sui network (example: testnet)NEXT_PUBLIC_ENOKI_API_KEY: enoki api keyNEXT_PUBLIC_GOOGLE_CLIENT_ID: google client id for authenticationNEXT_PUBLIC_WEBSITE_BASE_URL: your website urlNEXT_PUBLIC_PUBLISHER_URL: the url for the walrus publisher serviceNEXT_PUBLIC_AGGREGATOR_URL: the url for the walrus aggregator serviceTUSKY_API_KEY: the api key of your tuskyNEXT_PUBLIC_TUSKY_VAULT_ID: the vault id of your tusky