{"id":15994274,"url":"https://github.com/pixelhandler/ember-fixturific","last_synced_at":"2025-04-05T00:15:46.542Z","repository":{"id":29843155,"uuid":"33387925","full_name":"pixelhandler/ember-fixturific","owner":"pixelhandler","description":"Ember CLI project with shared fixture .json file for both http-mocks server and testing XHR responses, see https://speakerdeck.com/pixelhandler/using-fixture-json-with-ember-clis-http-mocks-and-tests","archived":false,"fork":false,"pushed_at":"2015-04-19T07:47:20.000Z","size":168,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T08:31:20.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/pixelhandler.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":"2015-04-03T23:44:08.000Z","updated_at":"2020-01-17T01:10:48.000Z","dependencies_parsed_at":"2022-09-13T05:03:31.375Z","dependency_job_id":null,"html_url":"https://github.com/pixelhandler/ember-fixturific","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-fixturific","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-fixturific/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-fixturific/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-fixturific/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelhandler","download_url":"https://codeload.github.com/pixelhandler/ember-fixturific/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266570,"owners_count":20910837,"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-10-08T07:08:02.658Z","updated_at":"2025-04-05T00:15:46.518Z","avatar_url":"https://github.com/pixelhandler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-fixturific\n\nAn example project: Http-mocks-with-fixtures that uses .json files that are shared between http-mocks server and acceptance tests.\n\nRunning the project with `npm run start-mock` will use the the http-mocks server, using `ember server` will not. See the [config/environment.js] file and [server/index.js] files that use an environment variable `process.env.USE_HTTP_MOCKS`.\n\nThe setup for sharing the JSON is done like with:\n\n* [fixtures] directory for the raw .json files\n* [server] directory has an example endpoint mocked for /api/colors\n* [Brocfile.js] build which converts the .json files in the [fixtures] directory into ES6 modules for use in yours tests. \n* [json-to-module.js] file which is used by the build to convert the fixtures.\n* [bower.js] uses a git url for the sinon dependency, needed to use `bower install` after adding the git url\n\nSome commands use to setup this example project:\n\n\t\tember g route index\n\t\tember g model color\n\t\tember g adapter application\n\n\t\tnpm install broccoli-static-compiler --save-dev\n\t\tnpm install broccoli-es6-concatenator --save-dev\n\n\t\tbower install\n\n## Prerequisites\n\nYou will need the following things properly installed on your computer.\n\n* [Git](http://git-scm.com/)\n* [Node.js](http://nodejs.org/) (with NPM)\n* [Bower](http://bower.io/)\n* [Ember CLI](http://www.ember-cli.com/)\n* [PhantomJS](http://phantomjs.org/)\n\n## Installation\n\n* `git clone \u003crepository-url\u003e` this repository\n* change into the new directory\n* `npm install`\n* `bower install`\n\n## Running / Development\n\n* `ember server`\n* Visit your app at [http://localhost:4200](http://localhost:4200).\n\n### Code Generators\n\nMake use of the many generators for code, try `ember help generate` for more details\n\n### Running Tests\n\n* `ember test`\n* `ember test --server`\n\n### Building\n\n* `ember build` (development)\n* `ember build --environment production` (production)\n\n### Deploying\n\nSpecify what it takes to deploy your app.\n\n## Further Reading / Useful Links\n\n* [ember.js](http://emberjs.com/)\n* [ember-cli](http://www.ember-cli.com/)\n* Development Browser Extensions\n  * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)\n  * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelhandler%2Fember-fixturific","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelhandler%2Fember-fixturific","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelhandler%2Fember-fixturific/lists"}