Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 851 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 851 Bytes

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.