Copy .env.example
to create a new file .env.local
and input the Airstack API key as an environment variable:
AIRSTACK_API_KEY=xxx
Install the necessary dependencies using npm
or other package managers:
npm install
To start the development server, run the following command:
npm run dev
Once, the development server is up, you can access your Frame at http://localhost:3000
.
For testing your Frame, you can run the Frog Devtools by running the following command:
npm run devtools
From there, you can open http://localhost:5173
and input http://localhost:3000
to the text input to start testing.