Minimal example of using the Superagent.sh SDK with NextJS
This is a minimal example of running the Superagent Javascript SDK with NextJS.
First, install the dependencies:
npm i
Secondly, rename .env.example
to .env
and add your environment variables.
Lastly, start the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Superagent, take a look at the following resources: