{"id":20303044,"url":"https://github.com/prawee/node-simulator-api-server","last_synced_at":"2026-05-13T02:11:59.856Z","repository":{"id":69745565,"uuid":"65717158","full_name":"prawee/node-simulator-api-server","owner":"prawee","description":"simulator api for client test ","archived":false,"fork":false,"pushed_at":"2016-08-15T09:23:23.000Z","size":2423,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T11:03:47.574Z","etag":null,"topics":["api-server","nodejs","simulator-api"],"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/prawee.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":"2016-08-15T08:30:34.000Z","updated_at":"2017-02-19T19:14:37.000Z","dependencies_parsed_at":"2023-04-29T14:47:22.403Z","dependency_job_id":null,"html_url":"https://github.com/prawee/node-simulator-api-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/prawee%2Fnode-simulator-api-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawee%2Fnode-simulator-api-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawee%2Fnode-simulator-api-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawee%2Fnode-simulator-api-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prawee","download_url":"https://codeload.github.com/prawee/node-simulator-api-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241801194,"owners_count":20022383,"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":["api-server","nodejs","simulator-api"],"created_at":"2024-11-14T16:35:30.916Z","updated_at":"2026-05-13T02:11:54.825Z","avatar_url":"https://github.com/prawee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Clone and Install\nClone\n```\ncd /var/www/\ngit clone https://github.com/prawee/node-simulator-api-server.git json-server\ncd json-server\n```\nInstall Package\n```\nnpm install\nor \nnpm i \n```\n\n#Run\n```\njson-server --watch faker.js \nor \njson-server --w faker.js\n```\n\n#View\nopen your browser and then \nhttp://localhost:3000/users\n\n#RESTFul\nPOST\n```\ncurl -X POST -H \"Content-type: application/json\"  localhost:3000/users -d '{\"name\": \"Prawee Wongsa\" }'\n```\n```\n{\n  \"name\": \"Prawee Wongsa\",\n  \"id\": 51\n}\n```\nGET (all)\n```\ncurl -X GET -H \"Content-type: application/json\"  localhost:3000/users\n```\nGET (some)\n```\ncurl -X GET -H \"Content-type: application/json\"  localhost:3000/users/51\n```\n```\n{\n  \"name\": \"Prawee Wongsa\",\n  \"id\": 51\n}\n```\nDELETE\n```\ncurl -X DELETE -H \"Content-type: application/json\"  localhost:3000/users/51\n```\n```\n{}\n```\n\n#More Information about Tools\nhttps://github.com/typicode/json-server\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprawee%2Fnode-simulator-api-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprawee%2Fnode-simulator-api-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprawee%2Fnode-simulator-api-server/lists"}