{"id":21161859,"url":"https://github.com/silverbirder/managed-ea","last_synced_at":"2026-05-11T02:50:52.836Z","repository":{"id":52289762,"uuid":"164296492","full_name":"silverbirder/managed-ea","owner":"silverbirder","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T14:47:30.000Z","size":176,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T09:30:16.587Z","etag":null,"topics":["ea","react"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/silverbirder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-01-06T10:23:33.000Z","updated_at":"2019-11-18T13:21:38.000Z","dependencies_parsed_at":"2025-01-21T09:38:07.208Z","dependency_job_id":null,"html_url":"https://github.com/silverbirder/managed-ea","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/silverbirder%2Fmanaged-ea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverbirder%2Fmanaged-ea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverbirder%2Fmanaged-ea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverbirder%2Fmanaged-ea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silverbirder","download_url":"https://codeload.github.com/silverbirder/managed-ea/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243606962,"owners_count":20318314,"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":["ea","react"],"created_at":"2024-11-20T13:18:19.214Z","updated_at":"2026-05-11T02:50:47.817Z","avatar_url":"https://github.com/silverbirder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# managed-ea\r\n\r\nAll have been introduced React environment.\r\n\r\n## Output\r\n\r\n![output](https://res.cloudinary.com/silverbirder/image/upload/v1551705895/managed-ea/managed-ea.png)\r\n\r\n## Features\r\n\r\n- [preact](https://preactjs.com/)\r\n- [react](https://reactjs.org/)\r\n- [react-router](https://reacttraining.com/react-router/)\r\n- [react-helmet](https://github.com/nfl/react-helmet)\r\n- [react-hot-loader](http://gaearon.github.io/react-hot-loader/)\r\n- [redux](https://rackt.github.io/redux/)\r\n- [styled-components](https://www.styled-components.com/)\r\n- [loadable-components](https://github.com/smooth-code/loadable-components)\r\n- [express](http://expressjs.com/)\r\n- [workbox](https://developers.google.com/web/tools/workbox/)\r\n- [eslint](https://eslint.org/)\r\n- [stylelint](https://stylelint.io/)\r\n- [prettier](https://prettier.io/)\r\n- [flow](https://flow.org/)\r\n- [jest](https://facebook.github.io/jest/)\r\n- [enzyme](http://airbnb.io/enzyme/)\r\n- [webpack](https://webpack.js.org/)\r\n- [babel](https://babeljs.io/)\r\n- [codecov](https://codecov.io/)\r\n- [esdoc](https://esdoc.org/)\r\n- [snyk](https://snyk.docs.apiary.io/)\r\n- [circleci](https://circleci.com/)\r\n\r\n## Install\r\n\r\n```\r\n$ git clone https://github.com/silverbirder/managed-ea.git\r\n$ cd managed-ea\r\n$ npm i\r\n```\r\n\r\n## Run\r\n\r\n```\r\n$ npm run dev\r\n```\r\n\r\nGo to `http://localhost:2525/`.\r\n\r\n## Build\r\n\r\n```\r\n$ npm run build\r\n$ npm run build:client (Only build client)\r\n$ npm run build:server (Only build server)\r\n```\r\n\r\n## Build and analyze\r\n\r\n```\r\n$ npm run build:analyze\r\n$ npm run build:client:analyze\r\n$ npm run build:server:analyze\r\n```\r\n\r\n## Run for production\r\n\r\n```\r\nnpm start\r\n```\r\n\r\nGo to `http://localhost:2525/`.\r\n\r\n## Adding pages\r\n\r\nBasically page component is implemented using React.PureComponent.\r\n\r\n`src/pages/Home/index.js`\r\n\r\n```jsx\r\n/* @flow */\r\n\r\nimport * as React from 'react';\r\nimport Helmet from 'react-helmet';\r\nimport Button from 'components/Button';\r\nimport Title from 'components/Title';\r\nimport SubTitle from 'components/SubTitle';\r\nimport UserList from 'components/UserList';\r\nimport { fetchUsers as fetchUsersFromServer } from 'actions/user';\r\nimport type { PageProps, Dispatch } from 'types';\r\n\r\nexport default class HomePage extends React.PureComponent\u003cPageProps\u003e {\r\n  static loadData(dispatch: Dispatch) {\r\n    return dispatch(fetchUsersFromServer());\r\n  }\r\n\r\n  componentDidMount() {\r\n    const {\r\n      user: {\r\n        status: { isFetchedUserList },\r\n      },\r\n      userActions: { fetchUsers },\r\n    } = this.props;\r\n\r\n    if (!isFetchedUserList) {\r\n      fetchUsers();\r\n    }\r\n  }\r\n\r\n  render() {\r\n    const {\r\n      user: { userList },\r\n      userActions: { logout },\r\n    } = this.props;\r\n\r\n    return (\r\n      \u003cdiv\u003e\r\n        \u003cHelmet title=\"Home\" /\u003e\r\n        \u003cTitle\u003eHome Page\u003c/Title\u003e\r\n        \u003cSubTitle\u003eUser List\u003c/SubTitle\u003e\r\n        \u003cUserList userList={userList} /\u003e\r\n        \u003cButton\r\n          onClick={() =\u003e {\r\n            logout();\r\n          }}\r\n          isCenter\r\n        \u003e\r\n          Logout\r\n        \u003c/Button\u003e\r\n      \u003c/div\u003e\r\n    );\r\n  }\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverbirder%2Fmanaged-ea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilverbirder%2Fmanaged-ea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverbirder%2Fmanaged-ea/lists"}