{"id":16144378,"url":"https://github.com/ryanj/level-leaflet","last_synced_at":"2025-07-10T19:02:59.981Z","repository":{"id":26759187,"uuid":"30217069","full_name":"ryanj/level-leaflet","owner":"ryanj","description":"an example leaflet map using level-geo","archived":false,"fork":false,"pushed_at":"2015-02-03T00:47:59.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T20:46:29.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-03T00:47:20.000Z","updated_at":"2015-02-03T00:47:59.000Z","dependencies_parsed_at":"2022-09-01T21:11:37.747Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/level-leaflet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanj/level-leaflet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Flevel-leaflet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Flevel-leaflet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Flevel-leaflet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Flevel-leaflet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/level-leaflet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Flevel-leaflet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264637839,"owners_count":23642059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T00:12:51.771Z","updated_at":"2025-07-10T19:02:59.761Z","avatar_url":"https://github.com/ryanj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Map of National Parks and Historic Sites \n*powered by RESTify, LevelDB, and Leaflet maps*\n\n[![Build Status](http://img.shields.io/jenkins/s/https/build-shifter.rhcloud.com/levelparks-build.svg)](https://build-shifter.rhcloud.com/job/levelparks-build/) [![Dependency Check](http://img.shields.io/david/ryanj/level-leaflet.svg)](https://david-dm.org/ryanj/level-leaflet)\n\n[![Launch on OpenShift](https://launch-shifter.rhcloud.com/launch.svg)](https://openshift.redhat.com/app/console/application_type/custom?name=levelparks\u0026cartridges%5B%5D=nodejs-0.10\u0026initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2Flevel-leaflet.git)\n\nA basic instant mapping demo using LevelDB, node-restify, LeafLet Maps and map tiles from Stamen, to visualize the locations of major National Parks and Historic Sites.\n\n\u003ca href='http://levelparks-shifter.rhcloud.com/'\u003e\u003cimg src='https://www.openshift.com/sites/default/files/Parks_preview.png'/\u003e\u003c/a\u003e\n\nRelated post on OpenShift.com: [https://www.openshift.com/blogs/instant-mapping-applications-with-postgis-and-nodejs](https://www.openshift.com/blogs/instant-mapping-applications-with-postgis-and-nodejs)\n\n## Instant Provisioning on OpenShift\n\nTo deploy a clone of this application using the [`rhc` command line tool](http://rubygems.org/gems/rhc), type:\n\n    rhc app create parks nodejs-0.10 --from-code=https://github.com/ryanj/level-leaflet.git\n    \nOr, [link to a web-based **clone+deploy**](https://openshift.redhat.com/app/console/application_type/custom?name=levelparks\u0026cartridges%5B%5D=nodejs-0.10\u0026initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2level-leaflet.git) on [OpenShift Online](http://OpenShift.com) or [your own open cloud](http://openshift.github.io): \n\n    https://openshift.redhat.com/app/console/application_type/custom?name=levelparks\u0026cartridges%5B%5D=nodejs-0.10\u0026initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2Flevel-leaflet.git\n\nA live demo is available at: [http://levelparks-shifter.rhcloud.com/](http://levelparks-shifter.rhcloud.com/)\n\n## Local Development\nBefore you spin up a local server, you'll need a copy of the source code, and an installation of [nodejs](http://nodejs.org/).\n\nIf you created a clone of the application using the `rhc` command (above), then you should already have a local copy of the source code available.  If not, you can try cloning the repo using `git`, or taking advantage of the `rhc git-clone` command to fetch a local clone of any of your existing OpenShift applications:\n\n    rhc git-clone parks\n\nOpenShift will automatically resolve `package.json` dependencies for hosted applications as a normal part of it's automated build process.  In your local development environment, you'll need to run `npm install` in order to ensure that your application's package dependencies are available:\n\n    npm install\n\n### Basic Configuration\nThis app uses the `config` npm module, which loads it's configuration details from the `config/defaults.json` file.  This configuration takes advantage of several environment variables whenever they are available.  On OpenShift, many of these values are automatically provided for your application by their associated cartridge add-on service:\n\n    module.exports = {\n      port: process.env.PORT || process.env.OPENSHIFT_NODEJS_PORT || 8080,\n      ip: process.env.OPENSHIFT_NODEJS_IP || '127.0.0.1',\n      table_name: process.env.OPENSHIFT_APP_NAME || 'parks'\n    }\n\nSensible defaults allow us to run the same code in multiple environments. \n\n#### Starting your Local Webserver\nWith your dependencies installed, your port-forwarding tunnel established, and your environment variables set, firing up a local server should be as simple as typing:\n\n    npm start\n\nYour dev server should be available at the default address: [localhost:8080](http://localhost:8080)\n\n## Deploying updates to OpenShift\nWhen you're ready, you can push changes to your OpenShift-hosted application environment using the standard `git` workflow:\n\n1. Add your changes to a changeset:\n\n    `git add filename1 filename2`\n\n2. Mark the changeset as a Commit:\n\n    `git commit -m 'describe your changes here'`\n\n3. Push the Commit to OpenShift\n\n    `git push`\n\n## License\nThis 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/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Flevel-leaflet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Flevel-leaflet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Flevel-leaflet/lists"}