{"id":30847521,"url":"https://github.com/deadpoolx7/mockforge","last_synced_at":"2026-05-05T06:40:37.900Z","repository":{"id":311292849,"uuid":"1043134148","full_name":"DeadpoolX7/mockforge","owner":"DeadpoolX7","description":"REST Api to serve dummy mock JSON data for development and testing purpose. Built using SpringBoot and Java Faker. Try playground on 👇","archived":false,"fork":false,"pushed_at":"2025-08-23T14:55:18.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T02:53:55.204Z","etag":null,"topics":["api-rest","docker-compose","dockerfile","doker","dummy-data","dummyjson","json","playground","spring-boot"],"latest_commit_sha":null,"homepage":"https://deadpoolx7.github.io/mockforge-playground/","language":"Java","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/DeadpoolX7.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-23T07:57:46.000Z","updated_at":"2025-08-23T15:31:47.000Z","dependencies_parsed_at":"2025-08-24T03:08:47.400Z","dependency_job_id":"675fc112-b03a-41f3-a3e7-8c3b18565ed9","html_url":"https://github.com/DeadpoolX7/mockforge","commit_stats":null,"previous_names":["deadpoolx7/mockforge"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/DeadpoolX7/mockforge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadpoolX7%2Fmockforge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadpoolX7%2Fmockforge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadpoolX7%2Fmockforge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadpoolX7%2Fmockforge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeadpoolX7","download_url":"https://codeload.github.com/DeadpoolX7/mockforge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadpoolX7%2Fmockforge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986629,"owners_count":25202708,"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-09-07T02:00:09.463Z","response_time":67,"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":["api-rest","docker-compose","dockerfile","doker","dummy-data","dummyjson","json","playground","spring-boot"],"created_at":"2025-09-07T02:14:27.889Z","updated_at":"2026-05-05T06:40:37.825Z","avatar_url":"https://github.com/DeadpoolX7.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MockForge\n\nMockForge is a flexible mock data generation API that helps developers create realistic test data using [Java Faker](https://github.com/DiUS/java-faker) field paths.\n\nIt provides a simple REST endpoint to generate customized JSON data for development and testing purposes.\n\n## Features\n\n- Dynamic JSON data generation based on field paths\n- Support for nested object structures\n- Configurable number of mock objects\n- OpenAPI/Swagger documentation\n- Docker support\n- Simple REST API interface\n\n## Getting Started\n\n### Prerequisites\n\n- Java 17 or higher\n- Maven 3.6+\n- Docker (optional)\n\n### Running Locally\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/mockforge.git\ncd mockforge\n```\n\n2. Build the project:\n```bash\n./mvnw clean install\n```\n\n3. Run the application:\n```bash\n./mvnw spring-boot:run\n```\n\nThe API will be available at `http://localhost:8080/`\n\n### Using Docker\n\n1. Build the Docker image:\n```bash\ndocker build -t mockforge .\n```\n\n2. Run the container:\n```bash\ndocker run -p 8080:8080 mockforge\n```\n\n### API Usage\nGenerate Mock Data\n```bash\nGET /mock?fields=name.firstName,address.city,phone.cellPhone\u0026count=2\n```\n\nParameters:\n\n- `fields` : Comma-separated list of Java Faker field paths\n- `count` (optional) : Number of Objects to generate (default : 1)\n\nExample Response:\n\n```json\n[\n  {\n    \"name\": {\n      \"firstName\": \"John\"\n    },\n    \"address\": {\n      \"city\": \"New York\"\n    },\n    \"phone\": {\n      \"cellPhone\": \"1-234-567-8900\"\n    }\n  },\n  {\n    \"name\": {\n      \"firstName\": \"Jane\"\n    },\n    \"address\": {\n      \"city\": \"Los Angeles\"\n    },\n    \"phone\": {\n      \"cellPhone\": \"1-234-567-8901\"\n    }\n  }\n]\n```\nAvailable Field Paths\n\nThe API supports all field paths available in Java Faker. Some commonly used paths include:\n\n- `name.firstName`\n- `name.lastName`\n- `address.streetAddress`\n- `address.city`\n- `address.country`\n- `internet.email`\n- `phone.cellPhone`\n- `company.name`\n- `commerce.price`\n\nFor a complete list of available fields, visit the [Java Faker Documentation](https://dius.github.io/java-faker/apidocs/index.html)\n\n## API Documentation\nAccess the OpenAPI/Swagger documentation at:\n\n```bash\nhttp://localhost:8080/swagger-ui.html\n```\n\n## Deployment\n\nThe project includes a render.yml configuration for deployment on Render.\n\n### To deploy:\n\n- Fork this repository\n- Connect your fork to Render\n- Create a new Web Service using the repository\n\n---\n\n## Contributing\n- Fork the repository\n- Create your feature branch (`git checkout -b feature/AmazingFeature`)\n- Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n- Push to the branch (`git push origin feature/AmazingFeature`)\n- Open a Pull Request\n\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](#LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpoolx7%2Fmockforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadpoolx7%2Fmockforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpoolx7%2Fmockforge/lists"}