This app is a simple Node.js app that serves several functions for demoing Inngest.
This app works in the following ways:
- It has several Inngest functions (w/ and w/out steps)
- Some functions throw errors at random to simulate failures
- A cron function runs every 10 minutes to send fake events to your local app
# Install app dependencies
pnpm
# Run the app in development mode
pnpm run dev
# In a separate shell session, run the dev server
npx inngest-cli@latest dev -u http://localhost:3030/api/inngest
This application is deployed to Render automatically on ever push to the main
branch on Github.
To deploy this yourself, you'll need to set the INNGEST_EVENT_KEY
and INNGEST_SIGNING_KEY
environment variables from
your Inngest.com account.
If you'd like to manually send a bunch of test events, use the pnpm send
command:
pnpm send
# Send a specific number of events
pnpm send 500
# Send a specific event type
pnpm send 30 app/account.created