nextjs-superagent
nextjs-superagent copied to clipboard
Minimal example of using the Superagent.sh SDK with NextJS
This is a minimal example of running the Superagent Javascript SDK with NextJS.
Getting Started
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.
Learn More
To learn more about Superagent, take a look at the following resources:
- superagent.sh - sign up for a Superagent account.
- Superagent Github repo - checkout superagent on Github.
- Superagent JS SDK - read more about the JS SDK.
- Documentation - read our docs.