Quickstart
H3 Quickstart
Get started with Novu Framework in an H3 application
In this guide, we will add a Novu Bridge Endpoint to a H3 application and send our first test workflow.
Set up your local environment
Start the Local Studio by running:
The Local Studio will be available at: http://localhost:2022. This is where you can preview and test your workflows.
Install packages
Install the Novu Framework package:
This package provides all the necessary tools to build and manage your notification workflows.
Create your workflow definition
Add a novu
folder in your app folder as such novu/workflows.ts
that will contain your workflow definitions.
Start your application
Start your H3 server with the Novu Endpoint configured.
If your H3 application is running on other than 4000
port, restart the npx novu dev
command with the port:
Test your endpoint
Test your workflow by triggering it from the Local Studio or using the Novu API:
You should see the notification being processed in your Local Studio.
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.
Now that you have your first workflow running, you can:
- 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