Build real-time notifications · Exercise 01
Set up the app
Get the starter Workers app running on your machine
Paste this into your agent
Copied! Now paste it into your agent. No agent yet? Here's how to get one.
Set up the app
Setup the starter repository on your local machine.
Set up the starter
Clone the starter code to your desired directory.
Terminalgit clone https://github.com/jamesqquick/realtime-workflows-demo
cd ./realtime-workflows-demo
Install dependencies:
Terminalpnpm install
Start the dev server:
Terminalpnpm dev
In another terminal or in the browser, make a test request to the /api/health endpoint:
Terminalcurl http://localhost:5173/api/health
You should see confirmation that your server is running correctly with an { "ok": true} response.