Set up your local environment
Start local development by running:Install packages
Install the Novu Framework package and Hono:@novu/framework provides the tools to build and manage your notification workflows. hono is required because it is an optional peer dependency of the Hono adapter.Add a Novu API Endpoint
src/index.ts
Create your workflow definition
Add anovu folder in your app folder as such novu/workflows.ts that will contain your workflow definitions.src/novu/workflows.ts
Start your application
Start your Hono server with the Novu Endpoint configured.If your Hono application is running on a port other than4000, restart npx novu dev with that port:Test your endpoint
Test your workflow by triggering it from the Local environment or using the Novu API:Deploy your application
Deploy your application to your preferred hosting provider. Make sure the/api/novu endpoint is accessible from the internet.For local development and testing, you can use tools like ngrok to expose your local server to the internet.- Learn about Workflow Controls to expose no-code editing capabilities
- Explore different Channel Steps like Email, SMS, Push, and more
- Set up Action Steps like Delay and Digest
- Check out our React Email integration for building beautiful email templates