{"id":24750783,"url":"https://github.com/anburocky3/mimic-server-api","last_synced_at":"2025-03-23T03:40:54.288Z","repository":{"id":269043428,"uuid":"906246245","full_name":"anburocky3/mimic-server-api","owner":"anburocky3","description":"Simple fake app to use it in your apps for learning purposes.","archived":false,"fork":false,"pushed_at":"2025-03-16T15:01:43.000Z","size":798,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T12:18:16.565Z","etag":null,"topics":["javascript","json","json-server","mock-server"],"latest_commit_sha":null,"homepage":"https://mimic-server-api.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anburocky3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"github":"anburocky3"}},"created_at":"2024-12-20T13:24:26.000Z","updated_at":"2025-03-16T15:01:46.000Z","dependencies_parsed_at":"2024-12-20T14:40:47.902Z","dependency_job_id":"92b3341f-4ef5-42c2-b3c7-b5fef2b56b3a","html_url":"https://github.com/anburocky3/mimic-server-api","commit_stats":null,"previous_names":["anburocky3/mimic-server-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anburocky3%2Fmimic-server-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anburocky3%2Fmimic-server-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anburocky3%2Fmimic-server-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anburocky3%2Fmimic-server-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anburocky3","download_url":"https://codeload.github.com/anburocky3/mimic-server-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052637,"owners_count":20553162,"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":["javascript","json","json-server","mock-server"],"created_at":"2025-01-28T09:08:55.838Z","updated_at":"2025-03-23T03:40:54.283Z","avatar_url":"https://github.com/anburocky3.png","language":"TypeScript","funding_links":["https://github.com/sponsors/anburocky3"],"categories":[],"sub_categories":[],"readme":"# Mimic API Server 🧑‍💻\n\n[![Stars](https://img.shields.io/github/stars/anburocky3/mimic-server-api)](https://github.com/anburocky3/mimic-server-api)\n[![Forks](https://img.shields.io/github/forks/anburocky3/mimic-server-api)](https://github.com/anburocky3/mimic-server-api)\n[![GitHub license](https://img.shields.io/github/license/anburocky3/mimic-server-api)](https://github.com/anburocky3/mimic-server-api)\n![Anbuselvan Rocky Twitter](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fanburocky3%2Fmimic-server-api)\n[![Support Server](https://img.shields.io/discord/742347296091537448.svg?label=Discord\u0026logo=Discord\u0026colorB=7289da)](https://bit.ly/cyberdudeDiscord)\n[![Cyberdude youtube](https://img.shields.io/youtube/channel/subscribers/UCteUj8bL1ppZcS70UCWrVfw?style=social)](https://bit.ly/cyberdudeYT)\n![Vercel Deploy](https://deploy-badge.vercel.app/vercel/mimic-server-api)\n\nA lightweight mock API server that serves JSON data for development and testing purposes.\n\n#### ⭐ Live Preview: [https://mimic-server-api.vercel.app](https://mimic-server-api.vercel.app/) 🪴\n\n## Features\n\n- Serves static JSON data\n- RESTful API endpoints\n- Supports GET, POST, PUT, DELETE methods\n- Built-in web interface to explore available resources\n\n## Getting Started\n\n### Installation\n\n```bash\nnpm install\n```\n\n### Running the Server\n\n```bash\nnpm run dev # dev\nnpm start # production\n```\n\n### Generate Data\n\n```bash\nnpm run generate # To generate data \u0026 docs together.\n# or generate individually\nnpm run generate-data # To generate data: db.json\nnpm run generate-docs # To generate docs: Postman collections\n```\n\n### Helper scripts\n\n```bash\nts-node add-ids.ts ../data/videos.json # append id to each item\n```\n\nThe server will start at `http://localhost:3000`\n\n## API Documentation\n\nYou can access the API documentation in two ways:\n\n1. Visit the web interface at `http://localhost:3000`\n2. Import the [Postman Collection](http://localhost:3000/postman_collection.json) into your Postman workspace\n\n## Available Endpoints\n\nThe following endpoints are available:\n\n- GET `/db` - Returns all available resources\n- GET `/:resource` - Returns all items in a resource\n- GET `/:resource/:id` - Returns a single item from a resource\n- POST `/:resource` - Creates a new item in a resource\n- PUT `/:resource/:id` - Updates an item in a resource\n- DELETE `/:resource/:id` - Deletes an item from a resource\n\n## Deployment\n\nThe API is deployed at: [https://mimic-server-api.vercel.app/](https://mimic-server-api.vercel.app/)\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request. [Contributing instruction here.](./CONTRIBUTE.md)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Author\n\n[Anbuselvan Annamalai](https://facebook.com/anburocky3)\n\n## Our valuable Contributors\n\n1. [Yogeshwaran C](https://github.com/yogesh7401)\n2. [Mr.Grootx](https://github.com/MrGrootx)\n3. [SriBalan](https://github.com/sribalan98)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanburocky3%2Fmimic-server-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanburocky3%2Fmimic-server-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanburocky3%2Fmimic-server-api/lists"}