Express Quickstart
Get started with Novu Framework in an Express application
In this guide, we will add a Novu Bridge Endpoint to a Express.js application and send our first test workflow.
Set up your local environment
Install packages
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 Express server with the Novu Endpoint configured.
If your Express application is running on other than 4000
port, restart the npx novu dev
command with the port:
Test your endpoint
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