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.
- Sign up for a vLine developer account and create your vLine service.
- Make note of your
API Secreton theService Settingstab in the vLine Developer Console. - Clone this repository.
- Add your
Service IDandAPI Secretto theroutes/routehandler.jsfile. - Install dependencies using the Node Package Manager (
npm):npm install - Start the server:
npm start - Open http://localhost:3000 in one regular browser window and one incognito window.
- Log in as different users in the two windows. The users (and passwords) are
defined in the
users.jsonfile in the root directory of this example. - Click on a username to call that user.