{"id":18123377,"url":"https://github.com/mhadaily/breweryup-ember","last_synced_at":"2026-05-17T09:32:14.919Z","repository":{"id":74804253,"uuid":"81679432","full_name":"mhadaily/breweryUp-Ember","owner":"mhadaily","description":"A single page application based on brewerydb with Ember.js","archived":false,"fork":false,"pushed_at":"2017-06-01T16:17:56.000Z","size":662,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T18:52:04.584Z","etag":null,"topics":["brewerydb","ember","ember-cli","ember-data","emberjs"],"latest_commit_sha":null,"homepage":"https://goo.gl/T21Kfe","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/mhadaily.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}},"created_at":"2017-02-11T20:15:28.000Z","updated_at":"2017-03-16T08:02:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"10e2cfc1-b36f-4953-af82-0c56b4d990eb","html_url":"https://github.com/mhadaily/breweryUp-Ember","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/mhadaily%2FbreweryUp-Ember","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2FbreweryUp-Ember/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2FbreweryUp-Ember/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2FbreweryUp-Ember/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhadaily","download_url":"https://codeload.github.com/mhadaily/breweryUp-Ember/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485254,"owners_count":20946398,"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":["brewerydb","ember","ember-cli","ember-data","emberjs"],"created_at":"2024-11-01T07:09:32.578Z","updated_at":"2026-05-17T09:32:09.880Z","avatar_url":"https://github.com/mhadaily.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brewery-up-ember\n\nThis is a single page application based on brewerydb.com api. \n [LIVE DEMO ON AMAZON S3](http://brewery-up-ember.s3-website-eu-west-1.amazonaws.com/)\n\n##### Note: Please review MySolution section down below. and check out the server repository. \n\n## Docker\n\n* Run build and up: `docker-compose up`, then you are ready to use `http://localhost:4210`\n\nif watchman is running out of resources trying to track all the files in a large ember app. To increase the fs.inotify.max_user_watches count to something that is more appropriate for an ember app, stop your docker-compose server by hitting ctrl-c (or docker-compose stop server if necessary) then execute the following command:\n````commandline\ndocker run --rm --privileged --entrypoint sysctl breweryupember_dev -w fs.inotify.max_user_watches=524288\n````\nyour app folder is mounted to docker container so you can easily start developing. \n\nAlternatively, if you are willing to run on your local machine just follow the steps below:\n\n## Prerequisites\n\nYou will need the following things properly installed on your computer.\n\n* [Git](https://git-scm.com/)\n* [Node.js](https://nodejs.org/) (with NPM)\n* [Bower](https://bower.io/)\n* [Ember CLI](https://ember-cli.com/)\n* [PhantomJS](http://phantomjs.org/)\n* [watchman](https://facebook.github.io/watchman/docs/install.html)\n\n## Installation\n\n* `git clone git@github.com:mhadaily/breweryUp-Ember.git` this repository\n* `cd breweryUp-ember`\n* `npm install` or `yarn install`\n\n## Running / Development\n\n* `ember serve`\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\nThis application has 3 environment for deployment\n\n1. Development\n2. Staging\n3. Production \n\nsimply run the following command:\n\n```commandline\nAWS_ACCESS_KEY_ID=[yours] AWS_SECRET_ACCESS_KEY=[yours] ember deploy production --activate=true\n```\nyou are able to deploy to S3 in Production environment. All build, revision, Gzip and other pipeline for deployment \nhas been done and will be deployed automatically. ENJOY!\n\n## CORS issue\nAnswer from BreweryDB:\n\nWe don't currently support any type of AJAX calls or JSONP to the API for security reasons. You'd have to expose your API key to the public in your JS and that wouldn't be good.  Steve's recommendation to proxy your AJAX calls through your server is the one we also suggest.\n\n### My solution \nI have created what I need for my project through API Gateway and Lambda in AWS. Please visit [my server repo](https://github.com/mhadaily/breweryUp-Node-Lambda)\n```commandline\nendpoints:\n  GET - https://2wb03ukih6.execute-api.us-west-1.amazonaws.com/v2/beers/{id}\n  GET - https://2wb03ukih6.execute-api.us-west-1.amazonaws.com/v2/beers/{id}/breweries\n  GET - https://2wb03ukih6.execute-api.us-west-1.amazonaws.com/v2/beers/{id}/breweries/{brid}\n  GET - https://2wb03ukih6.execute-api.us-west-1.amazonaws.com/v2/beers/{id}/events\n  GET - https://2wb03ukih6.execute-api.us-west-1.amazonaws.com/v2/beers/{id}/yeasts\n  GET - https://2wb03ukih6.execute-api.us-west-1.amazonaws.com/v2/beers/{id}/ingredients\n  GET - https://2wb03ukih6.execute-api.us-west-1.amazonaws.com/v2/beers\n```\n\n## TODO\n\n**RESTSerializer**\n\nThe serializer in Ember for Beers is only done which is I need to complete and demonstrate this project.\nHowever, I still need to work on `hasMany` and `belongsTo` for other models. \nAlthough I have partially done that, still need refinement until 100% ready. \nFor now, I will finish project with simple ajax request for other part as soon as it they need. \n\n## Further Reading / Useful Links\n\n* [ember.js](http://emberjs.com/)\n* [ember-cli](https://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%2Fmhadaily%2Fbreweryup-ember","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhadaily%2Fbreweryup-ember","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhadaily%2Fbreweryup-ember/lists"}