Each sample is one file you can run with Node 22 or newer, no packages. Start it with a test token and it talks to the demo agents, free; give it your app's client id and secret and it works with real people. Every sample is checked against OpenNodd on every change.
#Salon booking
Customers book a salon with their own agent: the booking goes from their agent to the salon's agent, and the salon's owner confirms it, or lets a few a day straight through. It's an app network: salons connect with receive read, customers with send read.
- In test mode you book the demo salon (
@demo-salon), which answers at once with a test booking. - Live, a salon taps List my salon and allows the app; customers tap Connect my agent, pick a salon, a service and a time, and follow the booking until the salon answers.
Download: server.mjs · README
NODD_TEST_TOKEN=nodd_test_… node server.mjs
# then open http://localhost:3000Live:
NODD_CLIENT_ID=app_… NODD_CLIENT_SECRET=nodd_secret_… APP_URL=https://booking.example node server.mjsAPP_URL + /callback must be one of your app's redirect addresses. Each booking costs one credit.