Skip to content

vline/vline-node-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Sample node.js app built with vline.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published