Integrating delivery feedback with Node.js
Set up your application
- Once your free Sinch account is setup and you have a virtual number, create a new folder for your app.
- Then start up a node app with npm.
npm init
- Accept the defaults for the application.
- Add the fetch package with npm to generate the necessary dependencies.
npm install node-fetch
Note:
The node fetch package requires us to use node modules. We'll use
.mjs
files instead of .js
files.