https://medium.com/frontendweb/building-a-contact-form-in-nextjs-14-5bc55f4462b2
First, clone the project with git.
git clone https://github.com/officialrajdeepsingh/submitjson-example
# or
gh repo clone officialrajdeepsingh/submitjson-example
Before running local development, define your environment variable key and endpoint for submitjson.
# .env.local
SUBMIT_JSON_API_KEY=sjk_139fab252f684f2eb49adbd51b23317e
ENDPOINT= WOOpcMfdI
Run your development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev