Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thesteve0/fluentwebmap
This is a Node.JS + MongoDBwith a Leaflet frontend mapping application. It should be all self contained
https://github.com/thesteve0/fluentwebmap
Last synced: 3 months ago
JSON representation
This is a Node.JS + MongoDBwith a Leaflet frontend mapping application. It should be all self contained
- Host: GitHub
- URL: https://github.com/thesteve0/fluentwebmap
- Owner: thesteve0
- Created: 2014-02-12T04:09:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-12T23:20:45.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T15:44:10.466Z (9 months ago)
- Language: JavaScript
- Size: 163 KB
- Stars: 67
- Watchers: 11
- Forks: 26
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - thesteve0/fluentwebmap - This is a Node.JS + MongoDBwith a Leaflet frontend mapping application. It should be all self contained (others)
README
#The code to accompany [Fluent Webcast](http://www.oreillynet.com/pub/e/3017) 2014
This code actually belongs to a [blog piece](https://openshift.redhat.com/community/blogs/using-nodejs-mongodb-express-for-your-spatial-web-service-and-its-free) written on OpenShift.com
It is a very simple application that let's serve up points on an OpenStreetMap base layer. If you want to use your own data you can replace the contents of parks.json with your own data and import that instead.
Running on OpenShift
----------------------------Create an account at http://openshift.redhat.com/
Create a Node.js application and add a MongoDB cartridge to the app
rhc app create fluentwebmap nodejs-0.1 mongodb-2.2 -s -g medium
You can name your application anything you want - it does not have to be fluentwebmap.The command line above also uses -s to make it a scalable application, where MongoDB and Node.JS are on different gears and therefore do not have to share resources. It also allows them to scale independently
Since I am a paid user, I am also choosing to use medium gears (1 gig of memory) by using the -g flag for my applications.
now add this upstream node repo
cd fluentwebmap
git remote add upstream -m master https://github.com/thesteve0/fluentwebmap.git
git pull -s recursive -X theirs upstream master
Then push the repo upstreamgit push
You can now checkout your application at:
http://fluentwebmap-$yournamespace.rhcloud.com/
License
-------This code is dedicated to the public domain to the maximum extent
permitted by applicable law, pursuant to CC0
http://creativecommons.org/publicdomain/zero/1.0/