Name an SMS batch with Node.js continued

Set up your application

  1. Once your free Sinch account is setup and you have a virtual number, create a new folder for your app.
  2. Then start up a node app with npm.
    Copy
    Copied
    npm init
  3. Accept the defaults for the application.
  4. Add the fetch package with npm to generate the necessary dependencies.
    Copy
    Copied
    npm install node-fetch
Note:
The node fetch package requires us to use node modules. We'll use .mjs files instead of .js files.
Go Back
We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.