{"id":18542177,"url":"https://github.com/heremaps/mobility-on-demand-use-cases-nodejs","last_synced_at":"2025-04-09T18:31:36.250Z","repository":{"id":18792963,"uuid":"83668598","full_name":"heremaps/mobility-on-demand-use-cases-nodejs","owner":"heremaps","description":"HERE mobility on-demand demos written as NodeJS applications.","archived":false,"fork":false,"pushed_at":"2023-01-07T02:29:22.000Z","size":939,"stargazers_count":2,"open_issues_count":11,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-14T19:34:58.917Z","etag":null,"topics":["demo-application","mobility","node","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heremaps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-02T11:05:29.000Z","updated_at":"2020-03-16T09:17:00.000Z","dependencies_parsed_at":"2023-01-11T20:29:50.924Z","dependency_job_id":null,"html_url":"https://github.com/heremaps/mobility-on-demand-use-cases-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fmobility-on-demand-use-cases-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fmobility-on-demand-use-cases-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fmobility-on-demand-use-cases-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fmobility-on-demand-use-cases-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heremaps","download_url":"https://codeload.github.com/heremaps/mobility-on-demand-use-cases-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248087760,"owners_count":21045585,"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":["demo-application","mobility","node","nodejs"],"created_at":"2024-11-06T20:07:38.666Z","updated_at":"2025-04-09T18:31:31.239Z","avatar_url":"https://github.com/heremaps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/heremaps/mobility-on-demand-use-cases-nodejs.svg?branch=master)](https://travis-ci.org/heremaps/mobility-on-demand-use-cases-nodejs)\n\n# Mobility On Demand Use Cases (NodeJS)\n\nThis repository hosts 2 demo applications developed in `NodeJS` exposing server-side and CLI integration with the **HERE REST APIs \u0026 Platform Extensions**.\n\nApplication Name | File | Description\n---------------- | ---- | -----------\nCommand Line Interface demo application | `cli-demo.js` | A `CLI` application running a sequence of potential transportation scenarios against the HERE REST APIs\n`Express` server demo application | `express-demo.js` | A grossly simplified [Express](http://expressjs.com/) app showcasing area administration.\n\nVisit the **HERE Developer Portal** for more information on the [HERE REST APIs \u0026 Platform Extensions](https://developer.here.com/develop/rest-apis).\n\n\u003e **Note:** In order to get the sample code to work, you **must** replace all instances of `YOUR_APP_ID` and `YOUR_APP_CODE` within the code and use your own **HERE** credentials.\n\n\u003e You can obtain a set of credentials from the [Plans](https://developer.here.com/plans) page on developer.here.com.\n\nFor more details about Mobility On Demand, visit the [HERE Mobility On Demand Toolkit](https://developer.here.com/mobility-on-demand-toolkit/documentation/topics/overview.html) page.\n\n## License\n\nUnless otherwise noted in `LICENSE` files for specific files or directories, the [LICENSE](LICENSE) in the root applies to all content in this repository.\n\n## Requirements\n\n\u003e Requires node \u003e= 6.0.0\n\n## Setting both applications up\n* Run `npm install`\n* Replace `YOUR_APP_ID` and `YOUR_APP_CODE` placeholder values in `src/config.js` with your own HERE credentials.\n\n## Running the sample applications\n* Run `npm run server` to run the `Express` server application\n* Run `npm run cli-demo` to run the `CLI` demo\n\n\u003e ℹ️ To disable specific scenarios of the demo, comment out their `then` calls at the bottom of `src/cli-demo.js`\n\n\u003e ℹ️ By default the local database is always cleared when starting the demo. To avoid clearing data, change the third parameter in the call to `db.initialize` to **`false`** at the bottom of `src/cli-demo.js`\n\n## Additional NPM `run` targets\n\nRun by issuing an `npm run \u003cname-of-script\u003e` command.    \nOmit `\u003cname-of-script\u003e` to get a list of targets.\n\n* `lint`: lints js code with `eslint`\n* `build-jsdoc`: builds documentation into the `./doc` directory\n* `coverage`: run code coverage analysis\n* `test`: run linter and code coverage\n\n## Notes\n\nThe examples use the Custom Integration Test (CIT) environment.\nPlease refer to our API Documentation on how to change from our CIT environment to our Production environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheremaps%2Fmobility-on-demand-use-cases-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheremaps%2Fmobility-on-demand-use-cases-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheremaps%2Fmobility-on-demand-use-cases-nodejs/lists"}