{"id":18811696,"url":"https://github.com/michaeldfaber/spocker","last_synced_at":"2025-07-22T17:04:59.217Z","repository":{"id":57660055,"uuid":"471210961","full_name":"michaeldfaber/spocker","owner":"michaeldfaber","description":"Mock API Tool","archived":false,"fork":false,"pushed_at":"2022-12-15T17:18:08.000Z","size":5167,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T03:38:20.475Z","etag":null,"topics":["api","mock","testing","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/michaeldfaber.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}},"created_at":"2022-03-18T02:30:03.000Z","updated_at":"2024-07-30T02:21:07.000Z","dependencies_parsed_at":"2023-01-29T03:45:34.855Z","dependency_job_id":null,"html_url":"https://github.com/michaeldfaber/spocker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michaeldfaber/spocker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldfaber%2Fspocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldfaber%2Fspocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldfaber%2Fspocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldfaber%2Fspocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaeldfaber","download_url":"https://codeload.github.com/michaeldfaber/spocker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeldfaber%2Fspocker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266535695,"owners_count":23944275,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["api","mock","testing","testing-tools"],"created_at":"2024-11-07T23:27:20.567Z","updated_at":"2025-07-22T17:04:59.192Z","avatar_url":"https://github.com/michaeldfaber.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spocker\n\nInstantly create mock endpoints for testing your frontend applications locally. Built with Svelte and Go.\n\n-----\n\nFill out a simple form to create a new endpoint:\n\n![Spocker Form](./docs/README_images/form.png)\n\nManaging existing endpoints with a simple dashboard:\n\n![Spocker Dashboard](./docs/README_images//dashboard.png)\n\nAnd that's it.\n\n![Spocker Postman Example](./docs/README_images//example.png)\n\n# Setup\n## Run with Docker Compose\nRecommended\n\n### Downloads\n- [Docker Compose](https://docker-docs.netlify.app/compose/install/)\n\n### Instructions\n\n1. Run the following command in the root folder of this project:\n    \n    `docker compose up -d`\n\n2. Open Spocker by navigating to the following URL in a browser:\n    \n    `http://localhost:5000`\n\n3. Call new endpoints with the following base URL:\n\n    `http://localhost:5001`\n\n## Run without Docker\n\n### Downloads\n\n- [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)\n- [go](https://go.dev/doc/install)\n- [gin](https://github.com/gin-gonic/gin#installation)\n- [MongoDB](https://docs.mongodb.com/manual/installation/)\n\n### Instructions\n1. Run the following command in the root folder of this repository:\n\n```\ngin --appPort 5001 --port 5005 --immediate --build . --path main.go --bin spocker\n```\n\n2. Run `npm run dev` in the `web` folder of this repository. Change the baseUrl in `App.svelte` and `EndpointCard.svelte` as needed.\n3. Make sure your local instance of MongoDB is running. Change the connection string in `mongodb.go` as needed.\n\n## Backlog\n\nPriority\n- Empty Response\n- Update\n\nFuture\n- Expected authentication for mock endpoints\n- Logging","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeldfaber%2Fspocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeldfaber%2Fspocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeldfaber%2Fspocker/lists"}