{"id":16037935,"url":"https://github.com/jrschumacher/json-data-server","last_synced_at":"2025-07-09T12:35:54.953Z","repository":{"id":27282000,"uuid":"30755379","full_name":"jrschumacher/json-data-server","owner":"jrschumacher","description":"A simple json data server which concats a collection of json files into one large file","archived":false,"fork":false,"pushed_at":"2017-04-20T10:55:51.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T17:17:23.609Z","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/jrschumacher.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-13T12:25:49.000Z","updated_at":"2017-04-20T10:29:49.000Z","dependencies_parsed_at":"2022-07-25T17:32:34.496Z","dependency_job_id":null,"html_url":"https://github.com/jrschumacher/json-data-server","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/jrschumacher%2Fjson-data-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrschumacher%2Fjson-data-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrschumacher%2Fjson-data-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrschumacher%2Fjson-data-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrschumacher","download_url":"https://codeload.github.com/jrschumacher/json-data-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242005733,"owners_count":20056432,"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-08T22:22:27.509Z","updated_at":"2025-03-05T09:51:08.763Z","avatar_url":"https://github.com/jrschumacher.png","language":"JavaScript","readme":"# JSON data server\n\nA simple data server.\n\n## Routes\n\n### GET /version\n\nGet the current version of the data. This is a simple md5 hash of the data.\n\n**Response:** `\"a213efa9530a382e9c097e2c4872c3cd\"`\n\n### GET /version?is=123456...\n\nA simple test to see if the version is the same.\n\n**Response:** `true|false`\n\n### GET /data\n\nGet the data structure. The datastructure is stored as json files. There is only one special file `index.json`. This file is a an index of all other files.\n\nAssuming a structure like this\n\n- index.json\n- events.json\n- page.json\n\nThen index.json would look like\n\n```\n[ \"events\", \"page\" ]\n```\n\nAnd the resulting data\n\n```\n{\n    \"events\": ...,\n    \"page\": ...\n}\n```\n\n\n## Run Server\n\nTo run the server you will need to \n\n```\n    $ npm install\n    $ node index.js\n```\n\nBy default the remote host is set to `localhost` and the remote path is `''`. If you need to set these:\n\n```\n    $ node REMOTE_PATH=/json REMOTE_HOST=my.server.com index.js\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrschumacher%2Fjson-data-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrschumacher%2Fjson-data-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrschumacher%2Fjson-data-server/lists"}