{"id":20425116,"url":"https://github.com/trikanna/cra-json-server","last_synced_at":"2025-04-12T18:55:20.330Z","repository":{"id":75591932,"uuid":"98373559","full_name":"trikanna/cra-json-server","owner":"trikanna","description":"create-react-app + json-server","archived":false,"fork":false,"pushed_at":"2017-07-26T03:11:30.000Z","size":257,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T13:11:57.053Z","etag":null,"topics":["create-react-app","json-server","react","styled-components"],"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/trikanna.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":"2017-07-26T03:09:05.000Z","updated_at":"2021-09-13T20:45:10.000Z","dependencies_parsed_at":"2023-06-07T00:45:31.956Z","dependency_job_id":null,"html_url":"https://github.com/trikanna/cra-json-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/trikanna%2Fcra-json-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikanna%2Fcra-json-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikanna%2Fcra-json-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikanna%2Fcra-json-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trikanna","download_url":"https://codeload.github.com/trikanna/cra-json-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618270,"owners_count":21134200,"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":["create-react-app","json-server","react","styled-components"],"created_at":"2024-11-15T07:12:18.402Z","updated_at":"2025-04-12T18:55:20.324Z","avatar_url":"https://github.com/trikanna.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-react-app + json-server\n\nThis project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app) \u0026 [typicode/json-server](https://github.com/typicode/json-server)\n\n\u003cimg width=\"1024\" alt=\"\" src=\"./screen.png\"\u003e\n\n## setup\n\n```npm install``` \u0026 ```npm start```\n\n### db.json\n\n```json\n{\n  \"posts\": [\n    {\n      \"id\": 1,\n      \"title\": \"this is the first element on the collection\",\n      \"authorId\": 1\n    },\n    {\n      \"id\": 2,\n      \"title\": \"And now time for a second one...\",\n      \"authorId\": 2\n    },\n    {\n      \"id\": 3,\n      \"title\": \"... and the last one.\",\n      \"authorId\": 1\n    }\n  ],\n  \"authors\": [\n    {\n      \"id\": 1,\n      \"name\": \"Santiago Camelo\",\n      \"email\": \"trikanna@gmail.com\"\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Pepe Trueno\",\n      \"email\": \"pepetrueno@gmail.com\"\n    }\n  ]\n}\n```\n\n### api call\n\n```http://localhost:4000/authors?_embed=post```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrikanna%2Fcra-json-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrikanna%2Fcra-json-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrikanna%2Fcra-json-server/lists"}