{"id":30362022,"url":"https://github.com/captkay/m2-project-json-server","last_synced_at":"2026-05-17T17:31:28.782Z","repository":{"id":308755044,"uuid":"1032688058","full_name":"CaptKay/m2-project-json-server","owner":"CaptKay","description":"A ready-to-use JSON Server backend for story CRUD apps. Provides RESTful /stories API with genres, cover images, and timestamps—deployed on Render.com for instant prototyping or as a live API for frontend projects.","archived":false,"fork":false,"pushed_at":"2025-08-16T13:34:28.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-16T15:27:38.669Z","etag":null,"topics":["backend","crud","data-store","demo","demo-backend","deployed-api","fake-api","headless","instant-api","json-server","mock-api","no-auth","open-source","prototyping","render","rest-api","restful","stories","storybook","webapp"],"latest_commit_sha":null,"homepage":"https://m2-project-json-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/CaptKay.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,"zenodo":null}},"created_at":"2025-08-05T17:09:46.000Z","updated_at":"2025-08-16T13:34:32.000Z","dependencies_parsed_at":"2025-08-07T18:53:04.817Z","dependency_job_id":null,"html_url":"https://github.com/CaptKay/m2-project-json-server","commit_stats":null,"previous_names":["captkay/m2-project-json-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CaptKay/m2-project-json-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptKay%2Fm2-project-json-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptKay%2Fm2-project-json-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptKay%2Fm2-project-json-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptKay%2Fm2-project-json-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptKay","download_url":"https://codeload.github.com/CaptKay/m2-project-json-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptKay%2Fm2-project-json-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271189959,"owners_count":24715143,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"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":["backend","crud","data-store","demo","demo-backend","deployed-api","fake-api","headless","instant-api","json-server","mock-api","no-auth","open-source","prototyping","render","rest-api","restful","stories","storybook","webapp"],"created_at":"2025-08-19T17:01:50.180Z","updated_at":"2026-05-17T17:31:28.735Z","avatar_url":"https://github.com/CaptKay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n```markdown\n# 📖 Mystic Stories JSON Server API\n\nSimple RESTful backend API for the [Mystic Stories App](https://kay-story-book-app.netlify.app).  \nPowered by [JSON Server](https://github.com/typicode/json-server) and deployed on [Render.com](https://render.com/).\n\n---\n\n## 🌐 Live API\n\n- **Base URL:** `https://m2-project-json-server.onrender.com`\n\n---\n\n## 📚 What Is This?\n\nA fake API backend to support story CRUD operations in a decoupled, modern web app.\n- Stores stories as JSON objects (with cover images, genres, etc)\n- Instantly deployable/forkable—no login or database config needed\n- Ideal for rapid prototyping, hackathons, or frontend demos\n\n---\n\n## 🗄️ API Endpoints\n\n| Method | Endpoint        | Function             |\n|--------|----------------|----------------------|\n| GET    | `/stories`     | Get all stories      |\n| GET    | `/stories/:id` | Get single story     |\n| POST   | `/stories`     | Create a new story   |\n| PUT    | `/stories/:id` | Update a story       |\n| DELETE | `/stories/:id` | Delete a story       |\n\n---\n\n## 📝 Story Object Example\n\n```\n{\n  \"id\": \"uuid-string\",\n  \"title\": \"The Mystic Sword\",\n  \"description\": \"A tale of ancient power.\",\n  \"content\": \"Full story text here...\",\n  \"coverImage\": \"https://res.cloudinary.com/your-cloud/image/upload/...\",\n  \"status\": \"published\",\n  \"genres\": [\"Fantasy\", \"Adventure\"],\n  \"createdAt\": \"2024-06-26T13:22:00.000Z\",\n  \"updatedAt\": \"2024-06-26T13:22:00.000Z\"\n}\n```\n\n---\n\n## 🚀 Local Development\n\n1. **Install JSON Server:**\n   ```\n   npm install -g json-server\n   ```\n2. **Create/Edit `db.json`:**\n   ```\n   {\n     \"stories\": []\n   }\n   ```\n3. **Run the server:**\n   ```\n   json-server --watch db.json --port 3001\n   ```\n   Now you can send API requests to `http://localhost:3001/stories`.\n\n---\n\n## 🌍 Deployment\n\n- **Hosted on [Render.com](https://render.com/docs/deploy-json-server)**\n- API auto-redeploys on db.json changes (if connected via Git)\n- You can fork, duplicate, or redeploy your own copy as needed\n\n---\n\n## 🙏 Credits\n\n- [typicode/json-server](https://github.com/typicode/json-server)\n- [Render.com Community Examples](https://render.com/docs/deploy-json-server)\n\n---\n\n## 📝 License\n\nThis project is licensed under the [MIT License](./LICENSE).\n\n---\n\n\u003e **Note:** This repo contains only API and data (no frontend).  \nFor the React app, see: [Mystic Stories App Frontend Repo](https://github.com/yourusername/stories-app)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptkay%2Fm2-project-json-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptkay%2Fm2-project-json-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptkay%2Fm2-project-json-server/lists"}