Inngest on Next.js Starter

R
Renaudil y a 2 jours
0

Description

Develop AI products at the speed of thought with Inngest and Next.js. Demo features like background jobs, real-time updates, and throttling.

npx boilerapp inngest-starter

文档

Get started with Next.js & Inngest

This project is an interactive tour of Inngest useful features for Next.js configured with:

  1. Trigger your first Inngest function - Learn how to trigger an Inngest function and see its output.

  2. Multi-Step Functions and Streaming - See how Inngest functions can be divided into fault-tolerant steps and stream updates to the UI.

  3. Fault Tolerance with Retries - Experience how Inngest handles failures and retries through a function that intentionally fails.

  4. Flow Control: Throttling - Learn about controlling function execution with features like throttling to handle 3rd party APIs rate limiting.

All functions source code are available in the src/lib/demo-functions.ts.

Getting Started

  1. Install dependencies:
    npm install
    
  2. Run the Next.js development server:
    npm run dev
    
  3. Run the Inngest dev server:
    npx inngest-cli@latest dev -u http://localhost:3000/api/inngest
    
  4. Visit http://localhost:3000

Deploy on Vercel

You can deploy this project to Vercel with a few clicks:

Deploy with Vercel

You can also find a complete step-by-step deploy to Vercel guide in our documentation.

Prix

Gratuit

FREE

评论 (0)

常见问题

常见问题解答 (FAQ)

有问题?我们有答案。如果您找不到想要的答案,请随时联系我们。

Boilerapp 是一个专门用于分享 Boilerplates、入门套件(Starter Kits)和项目模版的开发者社区平台。我们的目标很简单:为您节省初始配置(Setup)的时间,让您可以专注于真正重要的代码。无论您是在寻找简单的代码库还是完整的 SaaS 项目,都能在这里找到。

还有其他问题?

我们的团队随时为您提供帮助。联系我们,我们将尽快回复。