gisdev-km / turf-server-example

an example of using turf on a server with node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

turf-server-example

Deploy

Demonstrates using Turfjs in a nodejs expressjs server. Visiting the page will measure your bandwidth, add it to a map, and show a TIN of other people's network speeds.

See index.js for the server code and public/index.js for the client-facing code that works with browserify.

Usage

With Heroku, just click the Deploy button above.

Otherwise:

$ git clone https://github.com/mapbox/turf-server-example.git
$ cd turf-server-example
$ npm install
$ npm start

About

an example of using turf on a server with node.js


Languages

Language:JavaScript 81.6%Language:HTML 18.4%