Skip to content

trycourier/courier-nextjs-puppygram

Repository files navigation

Puppygram Hero

This is a Next.js app that uses data from the random.dog API and Courier to provide the backend to for the Puppygram app.

Check-out this deep dive into how this app was built for more details.

Getting Started

Clone the repo and install dependencies:

npm install

Prerequisites

In order to run this app, you'll need:

  1. A free Courier account
  2. A free Inngest account

Configure Courier and Inngest accounts

Follow the instructions in this companion blog post to:

  • Retrieve your Courier API key
  • Set-up the Courier Inbox provider
  • Retrieve your Courier Public Client Key
  • Retrieve your Inngest Event Key
  • Retrieve your Inngest Signing Key

Create a .env.local file at the root of the project to store secrets for Courier and Inngest.

COURIER_AUTH_TOKEN=pk_prod_xxx
NEXT_PUBLIC_COURIER_USER=puppygram
NEXT_PUBLIC_COURIER_CLIENT_KEY=yyy
INNGEST_EVENT_KEY=zzz
INNGEST_SIGNING_KEY=signkey-prod-xxx

Running the app

Start the Next.js app:

npm run dev

In another terminal, start the Inngest local dev server:

npx inngest-cli@latest dev

Open http://localhost:3000 in your browser.

Deploy

Check out the Next.js deployment documentation for more details.

Learn More

To learn more about Courier, take a look at the following resources:

  • Sign-up - Sign up and get 10k messages/month for free.
  • Docs - Platform and API reference docs
  • Integrations - Full list of SMS, email and eventing integrations.
  • Changelog - See what we've fixed and what we've shipped every week.

About

The server-side component to the Puppygram app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published