Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.07 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.07 KB

Sample node.js app that demonstrates vLine API integration.

In order for the application to run you need to install node.js. You can install node.js with an installer or package manager.

Getting Started

  1. Sign up for a vLine developer account and create your vLine service.
  2. Make note of your API Secret on the Service Settings tab in the vLine Developer Console.
  3. Clone this repository.
  4. Add your Service ID and API Secret to the routes/routehandler.js file.
  5. Install dependencies using the Node Package Manager (npm): npm install
  6. Start the server: npm start
  7. Open http://localhost:3000 in one regular browser window and one incognito window.
  8. Log in as different users in the two windows. The users (and passwords) are defined in the users.json file in the root directory of this example.
  9. Click on a username to call that user.