{"id":15856758,"url":"https://github.com/damassi/framework","last_synced_at":"2025-10-30T00:21:47.666Z","repository":{"id":150231647,"uuid":"50813104","full_name":"damassi/framework","owner":"damassi","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-18T02:54:25.000Z","size":31322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T12:35:11.451Z","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/damassi.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":"2016-02-01T04:10:13.000Z","updated_at":"2022-07-12T20:35:58.000Z","dependencies_parsed_at":"2023-06-15T05:30:31.493Z","dependency_job_id":null,"html_url":"https://github.com/damassi/framework","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/damassi%2Fframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damassi%2Fframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damassi%2Fframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damassi%2Fframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damassi","download_url":"https://codeload.github.com/damassi/framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246698718,"owners_count":20819611,"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-05T20:03:13.325Z","updated_at":"2025-10-30T00:21:42.627Z","avatar_url":"https://github.com/damassi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DAM EDITOR FRAMEWORK\n\nStarting point for building CRUD applications on top of the DAM. See [Assignment Desk](https://github.com/TimeInc/edit-rights-www) for a complete implementation, and these instructions for developing a new section https://github.com/TimeInc/edit-rights-www/pull/111.\n\n![framework](https://cloud.githubusercontent.com/assets/236943/12693735/1722445c-c6c8-11e5-9dd9-12b1b121477d.gif)\n\n(Excuse the duplicate record bug in the list view; something up with the DAM :)\n\n#### Support\nIf you have questions, please contact the DAM team on slack #ape-dam\n\n#### Stack\n\n[React](https://facebook.github.io/react/), [React Router](https://github.com/rackt/react-router), [Redux](https://github.com/rackt/redux), [Karma](http://karma-runner.github.io/0.13/index.html), [Mocha](https://mochajs.org/) and [Restify](https://github.com/restify/node-restify) as an API layer.\n\n## Installation\n\nPaste your artifactory username and password into this command:\n\u003e echo \"registry=http://timeinc.artifactoryonline.com/timeinc/api/npm/npm\" \u003e ~/.npmrc \u0026\u0026 curl -u user:pw \"http://timeinc.artifactoryonline.com/timeinc/api/npm/auth\" \u003e\u003e ~/.npmrc\n\n```\ngit clone https://github.com/TimeInc/dam-edit-framework-www\ncd dam-edit-framework-www\nnpm install\n```\n\n## Production\nFor debugging Elastic Search queries, a logger has been mounted at `window._editorLogger.toggle()`; enable it via your browser console.\n\n## Development\n\nNote to developers: Though we're using ES6 Classes to build our React `\u003cComponents /\u003e`, one should never ever extend a class *further* than React.Component, or inherit from anything *other than* React.Component -- they're meant to be simple containers for rendering and composing, and the useful `@decorator` syntax will only work with them. Use functional composition over inheritance instead!\n\n### Developing a new section:\nSee https://github.com/TimeInc/edit-rights-www/pull/111 for a complete walk through; commits contain the full dev flow, built from scratch.\n\n### HTML and Assets\nIn dev, html and assets are located in `public`. When building to production, the html template is located in `shared/templates` and everything is copied over to dist. The logo is located in `assets/images`.\n\n### Testing\nTests are co-located with their sources within a `__test__` directory. This pattern encourages broader testing practices and makes it easier to find stuff.\n\n### Feature Flags\n\nDefined in `webpack.config.dev` and `webpack.config.prod`, under plugins, you will find two magic variables:\n\n`__DEV__`,\n`__TEST__` and\n`process.node.ENV`\n\nThese can be used for toggling prod vs dev settings, such as the JSON explorer, the debugger used within \u003cExists /\u003e and Redux logging. (Others can be added as necessary.)\n\nWhen building for dev, `__DEV__` is set to `true`, and when building for prod, it is set to `false`. Same patter applies to `__TEST__`\n\n```\nnpm run dev\nopen http://localhost:8080\nopen http://localhost:8090 (api)\n\nnpm start\nnpm build - Minifies all assets, generates html, and outputs to `dist`\n\nNODE_ENV=prod LOG_LEVEL=DEBUG npm start | bunyan -o short\n\nnpm test\nnpm run test:watch\nnpm run lint\nnpm run build\nnpm run css (launches a browsersync server to auto-inject changes)\nnpm run css:build\nnpm run css:watch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamassi%2Fframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamassi%2Fframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamassi%2Fframework/lists"}