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.
Clone the repo and install dependencies:
npm install
In order to run this app, you'll need:
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
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.
Check out the Next.js deployment documentation for more details.
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.