{"id":19903915,"url":"https://github.com/zerotohero-dev/unreal","last_synced_at":"2025-09-09T18:59:33.357Z","repository":{"id":57386820,"uuid":"38901880","full_name":"zerotohero-dev/unreal","owner":"zerotohero-dev","description":"mocks stuff","archived":false,"fork":false,"pushed_at":"2015-07-11T00:36:30.000Z","size":136,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T11:36:20.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zerotohero-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-10T21:00:42.000Z","updated_at":"2023-10-03T04:43:48.000Z","dependencies_parsed_at":"2022-09-26T16:50:36.758Z","dependency_job_id":null,"html_url":"https://github.com/zerotohero-dev/unreal","commit_stats":null,"previous_names":["v0lkan/unreal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Funreal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Funreal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Funreal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Funreal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerotohero-dev","download_url":"https://codeload.github.com/zerotohero-dev/unreal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241322618,"owners_count":19944073,"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":[],"created_at":"2024-11-12T20:25:58.757Z","updated_at":"2025-03-01T07:22:22.297Z","avatar_url":"https://github.com/zerotohero-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"                      .-') _  _  .-')     ('-.   ('-.\n                     ( OO ) )( \\( -O )  _(  OO) ( OO ).-.\n     ,--. ,--.   ,--./ ,--,'  ,------. (,------./ . --. / ,--.\n     |  | |  |   |   \\ |  |\\  |   /`. ' |  .---'| \\-.  \\  |  |.-')\n     |  | | .-') |    \\|  | ) |  /  | | |  |  .-'-'  |  | |  | OO )\n     |  |_|( OO )|  .     |/  |  |_.' |(|  '--.\\| |_.'  | |  |`-' |\n     |  | | `-' /|  |\\    |   |  .  '.' |  .--' |  .-.  |(|  '---.'\n    ('  '-'(_.-' |  | \\   |   |  |\\  \\  |  `---.|  | |  | |      |\n      `-----'    `--'  `--'   `--' '--' `------'`--' `--' `------'\n\n# Unreal\n\nServes contents of JSON files.\n \nCan be used to mock API responses.\n\n## Why?\n\nI wanted to write some cool es6; and I needed a mock server that I could \ncustomize further when needed.\n\n## Usage\n\n* Clone the project.\n* Put your mockup JSON file in a folder (F).\n* Rename `config.example` as `config.json`.\n* Update `DATA_PATH` on `config.json` to point to the JSON folder (F).\n* Update the `urls` section of `config.json` to map to your **JSON** files.\n* Run `node index-compiled`\n* `http://localhost:8080` will be your mock server. For example visiting\n`http://localhost:8080/api/bimbo` will output \n`{\"lorem\":{\"some-other\":\"response\"}}` which is the contents of `lorem.json`\nwhich is mapped in `config.example` as `{\"/api/bimbo\": \"lorem.json\"}`\n\nThat’s all for it now.\n\nMore features may come in the future.\n\n## Have Something to Say?\n\nNote that this project is in its early beginning.\n\nDo not expect much from it.\n\nOpen an issue to share your comments and suggestions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerotohero-dev%2Funreal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerotohero-dev%2Funreal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerotohero-dev%2Funreal/lists"}