{"id":26382880,"url":"https://github.com/minikin/json-server","last_synced_at":"2026-05-15T13:36:38.178Z","repository":{"id":49661692,"uuid":"206751483","full_name":"minikin/json-server","owner":"minikin","description":"Fake Json Server hosted on Heroku","archived":false,"fork":false,"pushed_at":"2021-06-11T08:23:32.000Z","size":242,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T14:27:33.675Z","etag":null,"topics":["heroku","json","server"],"latest_commit_sha":null,"homepage":"https://minikin-json-server.herokuapp.com","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/minikin.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":"2019-09-06T08:40:55.000Z","updated_at":"2021-06-11T08:23:33.000Z","dependencies_parsed_at":"2022-09-20T01:04:07.901Z","dependency_job_id":null,"html_url":"https://github.com/minikin/json-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/minikin/json-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minikin%2Fjson-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minikin%2Fjson-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minikin%2Fjson-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minikin%2Fjson-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minikin","download_url":"https://codeload.github.com/minikin/json-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minikin%2Fjson-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["heroku","json","server"],"created_at":"2025-03-17T06:19:22.354Z","updated_at":"2026-05-15T13:36:38.161Z","avatar_url":"https://github.com/minikin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Json Server\n\n\n### Deploy to Heroku\n\n1 . [Create your database](#create-your-database)\n\n2 . Create an account on \u003cbr/\u003e[https://heroku.com](https://heroku.com)\n\n3 . Install the Heroku CLI on your computer: \u003cbr/\u003e[https://devcenter.heroku.com/articles/heroku-cli](https://devcenter.heroku.com/articles/heroku-cli)\n\n4 . Connect the Heroku CLI to your account by writing the following command in your terminal and follow the instructions on the command line:\n```bash\nheroku login\n```\n\n5 . Then create a remote heroku project, kinda like creating a git repository on GitHub. This will create a project on Heroku with a random name. If you want to name your app you have to supply your own name like `heroku create project-name`:\n```bash\nheroku create my-cool-project\n```\n\n6 . Push your app to __Heroku__ (you will see a wall of code)\n```bash\ngit push heroku master\n```\n\n7 . Visit your newly create app by opening it via heroku:\n```bash\nheroku open\n```\n\n8 . For debugging if something went wrong:\n```bash\nheroku logs --tail\n```\n\n---\n\n#### How it works\n\nHeroku will look for a startup-script, this is by default `npm start` so make sure you have that in your `package.json` (assuming your script is called `server.js`):\n```json\n \"scripts\": {\n    \"start\" : \"node server.js\"\n }\n```\n\nYou also have to make changes to the port, you can't hardcode a dev-port. But you can reference herokus port. So the code will have the following:\n```js\nconst port = process.env.PORT || 4000;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminikin%2Fjson-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminikin%2Fjson-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminikin%2Fjson-server/lists"}