{"id":22191687,"url":"https://github.com/leosimoes/nodejs-json-server-simpleapi","last_synced_at":"2026-05-04T04:31:49.439Z","repository":{"id":213612237,"uuid":"734492045","full_name":"leosimoes/NodeJS-JSON-Server-SimpleAPI","owner":"leosimoes","description":"Simple API in JSON with JSON Server and NodeJS.","archived":false,"fork":false,"pushed_at":"2023-12-21T22:30:00.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T20:43:39.274Z","etag":null,"topics":["json","json-server","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JSON","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/leosimoes.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}},"created_at":"2023-12-21T20:29:00.000Z","updated_at":"2023-12-27T14:01:33.000Z","dependencies_parsed_at":"2023-12-22T01:06:15.349Z","dependency_job_id":null,"html_url":"https://github.com/leosimoes/NodeJS-JSON-Server-SimpleAPI","commit_stats":null,"previous_names":["leosimoes/nodejs-json-server-simpleapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leosimoes/NodeJS-JSON-Server-SimpleAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leosimoes%2FNodeJS-JSON-Server-SimpleAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leosimoes%2FNodeJS-JSON-Server-SimpleAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leosimoes%2FNodeJS-JSON-Server-SimpleAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leosimoes%2FNodeJS-JSON-Server-SimpleAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leosimoes","download_url":"https://codeload.github.com/leosimoes/NodeJS-JSON-Server-SimpleAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leosimoes%2FNodeJS-JSON-Server-SimpleAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32595073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["json","json-server","nodejs","rest-api"],"created_at":"2024-12-02T12:17:18.233Z","updated_at":"2026-05-04T04:31:49.408Z","avatar_url":"https://github.com/leosimoes.png","language":"JSON","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS - JsonServer - SimpleAPI\nSimple JSON API with JSON Server and NodeJS.\n\nThe project development steps were:\n\n1. Open the terminal in the desired directory: `cd /d D:\\Projetos\\WebStorm\\NodeJS-JsonServer-SimpleAPI`;\n2. Initialize the Node.js project with a package.json file: `npm init -y` or `npm init`;\n3. Install JSON Server in the project: `npm install json-server`;\n\n![Image-CMD-CreateProject](imgs/Image-CMD-CreateProject.jpg)\n\n4. Create `data/` directory and `db.json` file inside it;\n5. Insert the data into `db.json`;\n6. In `package.json`, add the key-value `\"api\" : \"json-server --watch data/db.json\"` in `\"scripts\"`;\n7. Start the server: `npm run api`.\n\n![Image-CMD-NpmRunApi](imgs/Image-CMD-NpmRunApi.jpg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleosimoes%2Fnodejs-json-server-simpleapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleosimoes%2Fnodejs-json-server-simpleapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleosimoes%2Fnodejs-json-server-simpleapi/lists"}