{"id":18848300,"url":"https://github.com/espy/admin-dashboard","last_synced_at":"2026-02-02T06:30:18.600Z","repository":{"id":145741108,"uuid":"39142766","full_name":"espy/admin-dashboard","owner":"espy","description":"Ember rewrite of the Hoodie Admin Dashboard","archived":false,"fork":false,"pushed_at":"2017-10-17T10:59:27.000Z","size":2629,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T14:23:16.624Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/espy.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":"2015-07-15T14:52:40.000Z","updated_at":"2015-07-15T14:52:51.000Z","dependencies_parsed_at":"2023-04-14T21:00:18.769Z","dependency_job_id":null,"html_url":"https://github.com/espy/admin-dashboard","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/espy%2Fadmin-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espy%2Fadmin-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espy%2Fadmin-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espy%2Fadmin-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/espy","download_url":"https://codeload.github.com/espy/admin-dashboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239786209,"owners_count":19696770,"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-08T03:12:09.170Z","updated_at":"2026-02-02T06:30:18.565Z","avatar_url":"https://github.com/espy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Admin-dashboard\n\nEmber version of the Hoodie Admin Dashboard. Currently lets you log in and out, fetch all the plugin info, display plugin backends, and is ready to handle requests to Hoodie that require authentication. All Ajax requests done through Ember will transmit the bearerToken correctly once the admin has signed in.\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\nThis admin dashboard is meant to run in conjunction with an actual Hoodie app, so you'll need to run a Hoodie app locally and then tell Ember where the `WWW`-endpoint of that Hoodie app is. For example:\n\n* `ember server --proxy http://127.0.0.1:6096`\n* Visit your app at [http://localhost:4200](http://localhost:4200).\n\nThis'll handle all requests to the Hoodie API without any CORS trouble or additional config. \n\n#### Oddities of Note\n\nThis app embeds third-party plugin dashboards **iframes**, the sources of which are provided by the proxied Hoodie API. This only works if the Ember environment variable `locationType` is set to `hash` in `config/environment.js`. Otherwise, Ember will expect a route handler for the iframe src, and that will mess everything up. This means that the app's URLs use hashes.\n\n#### Working on admin-dashboard-UIKit (needs revision)\n\nClone `git@github.com:hoodiehq/hoodie-admin-dashboard-UIKit.git` and do `$ npm link` in its directory. This will make a global npm package named `hoodie-admin-dashboard-UIKit` available on your system.\n\nNow go to `yourHoodieTestApp/node_modules/hoodie-server/node_modules` and do `$ npm link hoodie-admin-dashboard-UIKit`.\n\nYou can now work in your UIKit-folder and see the changes in your admin-dashboard's plugins. Don't forget to `$ grunt build` the UIKit first.\n\n#### Working on a plugin (needs revision)\n\nClone the plugin and do `$ npm link` in its directory. This will make a global npm package named `hoodie-plugin-pluginName` available on your system.\n\nIf the plugin exists in npm already, you can install it now via `$ hoodie install pluginName`.\n\nNow go to `yourHoodieTestApp/node_modules` and do `$ npm link hoodie-plugin-pluginName`.\n\nIf the plugin is new and not installable through `$hoodie install`, you will have to add it to the package.json manually.\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**Important:** Don't forget to set the environment when building for release, the difference in asset size is immense (the build with `--environment production` is 950Kb, without it's **12MB**).\n\nThe app is built into the `www` folder to match the path in the existing dashboard. Ths path is set in `.ember-cli`.\n\n### Release Process\n\nTBD.\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%2Fespy%2Fadmin-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fespy%2Fadmin-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fespy%2Fadmin-dashboard/lists"}