{"id":21711700,"url":"https://github.com/sanjaydevtech/json-placeholder-server","last_synced_at":"2026-04-08T21:32:17.168Z","repository":{"id":115341540,"uuid":"325050545","full_name":"SanjayDevTech/json-placeholder-server","owner":"SanjayDevTech","description":"JSON fake placeholder api","archived":false,"fork":false,"pushed_at":"2023-09-03T11:09:07.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T18:22:20.535Z","etag":null,"topics":["expressjs","fake-api","heroku","json-api","json-placeholder","nodejs"],"latest_commit_sha":null,"homepage":"https://json-placeholder-server.onrender.com/","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/SanjayDevTech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-28T15:41:46.000Z","updated_at":"2023-08-15T07:36:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9cc564a-d12f-434c-9a0f-f375f6626fb4","html_url":"https://github.com/SanjayDevTech/json-placeholder-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SanjayDevTech/json-placeholder-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fjson-placeholder-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fjson-placeholder-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fjson-placeholder-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fjson-placeholder-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SanjayDevTech","download_url":"https://codeload.github.com/SanjayDevTech/json-placeholder-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fjson-placeholder-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["expressjs","fake-api","heroku","json-api","json-placeholder","nodejs"],"created_at":"2024-11-25T23:29:06.992Z","updated_at":"2026-04-08T21:32:17.143Z","avatar_url":"https://github.com/SanjayDevTech.png","language":"JavaScript","readme":"# json-placeholder-server\r\n\r\n## Features\r\n- Own database\r\n- Highly customizable\r\n\r\n## Data preparation\r\n- Plan your data\r\n- Specify your rule in db-rules.js\r\n- Place the data in db.js\r\n\r\n## Configuration\r\n- Edit `config.js` for fallback port and flag to show status code in response.\r\n- Edit `db-rules.js` for rules.\r\n- Edit `db.js` for your data.\r\n- Run `test.js` to verify your data with rules.\r\n\r\n## Data I have added\r\n- Three collections\r\n  - Posts\r\n  - Foods\r\n  - Users\r\n- Each document in a collection has a document id. It can be mentioned in `db-rules.js`.\r\n  - Posts (id)\r\n  - Foods (id)\r\n  - Users (user_id)\r\n\r\n## API\r\n- {domain}/\r\n  - Will list all data\r\n- {domain}/{collection_name}/\r\n  - List all data inside a collection\r\n- {domain}/{collection_name}/{document_id}\r\n  - List the matched document with document id\r\n \r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaydevtech%2Fjson-placeholder-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjaydevtech%2Fjson-placeholder-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaydevtech%2Fjson-placeholder-server/lists"}