{"id":25269941,"url":"https://github.com/javascript-pro/huawei","last_synced_at":"2025-04-06T06:15:22.287Z","repository":{"id":89534119,"uuid":"58692556","full_name":"javascript-pro/huawei","owner":"javascript-pro","description":"Woring example of a full React JS application running as an updateable Windows App. Developed for Huawei in Shenzhen, China it's called PMApp. The PM stands for Project Management and refers to the fact that the app is designed to be a useful tool for both training the skill of project managing, but actually be useful in the role too.","archived":false,"fork":false,"pushed_at":"2017-07-16T07:47:45.000Z","size":11187,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T11:37:30.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://huawei-listingslab.rhcloud.com","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/javascript-pro.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-05-13T02:26:38.000Z","updated_at":"2019-09-26T23:07:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e8fb48d-b448-413d-b932-cfa2baaee79d","html_url":"https://github.com/javascript-pro/huawei","commit_stats":null,"previous_names":["javascript-pro/huawei"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fhuawei","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fhuawei/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fhuawei/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Fhuawei/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javascript-pro","download_url":"https://codeload.github.com/javascript-pro/huawei/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441060,"owners_count":20939239,"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":"2025-02-12T11:28:02.398Z","updated_at":"2025-04-06T06:15:22.261Z","avatar_url":"https://github.com/javascript-pro.png","language":"JavaScript","readme":"## Kangaroo\n\nBuild and share truly native apps that work across both iOS and Android. Everything is open source, free and uses React Native.\n\n![logo](https://image.ibb.co/hZrPza/app_icon.png)\n\n![QR](https://image.ibb.co/cyFKfF/QR_Kangaroo_Cart.png)\n\nKangaroo is a React Native Mobile App dev environment used to publish a PWA to iOS and Android via Expo. Scan this QR code to view the latest build  (Expo app required)\n\n####[View on Expo](https://expo.io/@cdaligent/app-expo \"Expo\")\n\n#### Get the app\n\nInstall the Expo app for your device.\n\n![Apple Store](https://image.ibb.co/hGSRua/download_apple.png)\n\n[Apple Store](https://itunes.apple.com/app/apple-store/id982107779?ct=www\u0026mt=8 \"Apple's Apple Store\")\n![Google Play](https://image.ibb.co/bRbVLF/download_google.png)\n\n[Play Store](https://play.google.com/store/apps/details?id=host.exp.exponent\u0026referrer=www \"Google's Play Store\")\n\n#### About Expo\n\nWith Expo you can build, share and enjoy many mobile experiences.\nDownload the app to try kangaroo today. Kangaroo Cart is React Native App delivered via Expo. It makes Magento apps easy. It's a full React Native Mobile App development environment to publish a PWA to iOS and Android.\n\n#### Licence\n[Open Software License](https://opensource.org/licenses/OSL-3.0 \"OSL-3.0\")\n\n![Aligent](https://image.ibb.co/n3GGSv/aligent_logo.png)\n=======\n# Project Manager Application\n\t\n\n## Principle technology used\n\n- [NodeJS](https://nodejs.org/en/)\n- [React](https://facebook.github.io/react/index.html)\n- [Webpack](https://webpack.github.io/)\n- [ES6/7 via Babel](https://babeljs.io/docs/learn-es2015/)\n- [Local CSS](https://github.com/webpack/css-loader)\n- [RxJS](http://reactivex.io/)\n- [Electron](http://electron.atom.io/)\n- [Koa](http://koajs.com/)\n- [LokiDB](http://lokijs.org/)\n\n#### Because of open internet issues in China you can either use a VPN or the Taobao Chinese registry mirror\n\n```\n\t$ npm install --registry=http://registry.npm.taobao.org\n\tOr you can alias NPM to use it:\n```\n\n## Getting started\n\nPMAPP requires a UNIX or Linux based build environment\n\n\tgit clone https://mikeybox@bitbucket.org/mikeybox/pm-app.git\n\tcd pm-app/development\n\tnpm run setup\n\tnpm run dev\n\tnpm run api\n\nNow point your browser to [http://localhost:9090/webpack-dev-server/](http://localhost:9090/webpack-dev-server/).\n\nFor a non-autoloading version, use [http://localhost:9090/](http://localhost:9090/)\n\n### Deployment\nTo release changes made to the application you can run the below deployment method, it will create a release folder in the development directory. Inside that folder you will find an app folder with all the files required to run the application inside an electron wrapper.\n\n\tnpm run deploy\n\nThen copy that folder in to a prebuilt electron build. \n[Find builds here](https://github.com/electron/electron/releases)\n\n\tOn OS X:\n\n\telectron/Electron.app/Contents/Resources/app/\n\t├── package.json\n\t├── main.js\n\t└── ...\n\n\tOn Windows and Linux:\n\n\telectron/resources/app\n\t├── package.json\n\t├── main.js\n\t└── ...\n\t\n\t\n\n###Basic Architecture\n\nPMAPP is a React front end application built for webkit(Chrome) render engine. The application makes use of react-router to handle state changes across the application and to load the various `views`. The modules are split in to three main sections `views`, `components` and `streams`. \n\n`Views` hold components and typically handle loading data for the components being rendered. \n\n`Components` are lower level modules that can later be used in other places to build views or other larger components. \n\n`Streams` access data via the parent RxJS singleton `CRUD` which handles REST requests to the server. The streams are used to subscribe to different endpoints in the API.\n\n###API\n\nPMAPP runs an internal web server at [localhost:3000](http://localhost:3000) when in development this provides the rest data endpoints but when released and packaged it also hosts the bundled html and js application. It stores data to the disk in JSON format using a loki database to manage collections. When installed the database is stored in user AppData/pm-app under windows and Application Support/pm-app on OSX.\n\n###CMS\nPMAPP has a CMS for changing and creating learning content this can be found in the development folder. \n\n###Basic config options\nThe main `package.json` contains an object called `appconfig` this can be used to inject variables in to the application javascript environment. This object is attached at `window.PMAPP`\n\n###Creating an installer for Windows\nAny installer software can be used, in the current build we're using [Advanced Installer](http://www.advancedinstaller.com/) this an easy to use `MSI` creator which can be used to create shortcuts for the app and add files. A step by step guide can be found [here](http://www.advancedinstaller.com/user-guide/tutorial-simple.html) or use the `PM APP.aip` file. Add the build and files to the installer application folder and build an MSI.\nYou can find the app icon for use when creating a short cut in the app folder after doing a deploy. \n\n\n\n\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e c73a399928ca91e286a33e1565a33c2815c69537\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascript-pro%2Fhuawei","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavascript-pro%2Fhuawei","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascript-pro%2Fhuawei/lists"}