Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 799 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 799 Bytes

handshakejs-example-nodejs

Example of using handshakejs-script with a nodejs express app.

You can view it in action here.

Usage

git clone https://github.com/handshakejs/handshakejs-example-nodejs.git
cd handshakejs-example-nodejs
echo "SALT=ddb5cf1ae20b5bb1a176dbb634f2031644f6365cf95accc637dd455acb9bbafb" > .env
npm install 
node app.js

Visit http://localhost:3000 in your browser.

Deploying to Heroku

git clone https://github.com/handshakejs/handshakejs-example-nodejs.git
cd handshakejs-example-nodejs
heroku create
heroku config:set SALT=ddb5cf1ae20b5bb1a176dbb634f2031644f6365cf95accc637dd455acb9bbafb
git push heroku master