{"id":20668631,"url":"https://github.com/jonlabelle/serve-json","last_synced_at":"2026-04-14T06:02:08.865Z","repository":{"id":261730362,"uuid":"885164286","full_name":"jonlabelle/serve-json","owner":"jonlabelle","description":"A simple HTTP server for static JSON files.","archived":false,"fork":false,"pushed_at":"2024-11-09T22:12:01.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T13:28:32.214Z","etag":null,"topics":["express","json","nodejs","serve"],"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/jonlabelle.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-08T04:31:27.000Z","updated_at":"2024-11-09T22:12:04.000Z","dependencies_parsed_at":"2024-11-08T05:28:35.807Z","dependency_job_id":"a0da0695-4e35-40be-9383-53e09a164de1","html_url":"https://github.com/jonlabelle/serve-json","commit_stats":null,"previous_names":["jonlabelle/serve-json"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fserve-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fserve-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fserve-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Fserve-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonlabelle","download_url":"https://codeload.github.com/jonlabelle/serve-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242873756,"owners_count":20199294,"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":["express","json","nodejs","serve"],"created_at":"2024-11-16T20:10:06.452Z","updated_at":"2025-12-16T05:35:10.496Z","avatar_url":"https://github.com/jonlabelle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serve JSON\n\n![ci](https://github.com/jonlabelle/serve-json/actions/workflows/ci.yml/badge.svg)\n\n\u003e A simple HTTP server for static JSON files. Simply drop your JSON files in the [`src/data`](src/data) directory and start serving!\n\nCheck out the [sample JSON file](src/data/sample.json) that comes with the project, or [start the server](#starting-the-server) to browse the files in the `data/` directory.\n\n![Server JSON screenshot](screenshot.png 'Server JSON screenshot')\n\n## Installation\n\n### Installation Steps\n\nTo install the project, clone the repo and install the dependencies:\n\n```console\n# Clone the repo\ngit clone https://github.com/jonlabelle/serve-json.git\n\n# Change to the repo directory\ncd serve-json\n\n# Install dependencies\nnpm install\n```\n\n### Starting the Server\n\nTo start the server, run the following command:\n\n```console\nnpm serve\n```\n\n## Container\n\n### Running in a Container\n\nTo run the server in a container, build the image and run the container:\n\n```console\n# Build the image\ndocker|podman|nerdctl build -t serve-json .\n\n# Run the container\ndocker|podman|nerdctl run -p 3000:3000 serve-json\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonlabelle%2Fserve-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonlabelle%2Fserve-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonlabelle%2Fserve-json/lists"}