Example app in nodejs using handshake.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
views
.gitignore
Procfile
README.md
app.js
package.json

README.md

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