Skip to content

IndiePitcher/indiepitcher-nextjs-example

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Setup

  • Sign up for a free IndiePitcher account
  • Create a project
  • Generate an API key
  • Create .env.local file and add the API key INDIEPITCHER_API_KEY=sc_xxxxxxxxxx

Try the examples

  • Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
  • Open http://localhost:3000.
  • Look at actions under src/app/actions, you'll probably want to update the email to your email address.
  • Try the examples.

Please note that all the code sending emails is inside actions that will be run on the server, and not the client frontend code. This is intentional to avoid leaking your IndiePitcher API key.

About

Examples using IndiePitcher Node.js SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published