ncpc

所属分类:快速开发平台
开发工具:JavaScript
文件大小:15145KB
下载次数:0
上传日期:2020-03-19 20:31:24
上 传 者sh-1993
说明:  无代码首选中心:一个多租户、React应用程序,用于通过S...
(No-Code Preference Center: A multi-tenant, React application for managing Salesforce accounts and subscriptions via Salesforce Cloud.)

文件列表:
Procfile (15, 2020-03-19)
app.json (313, 2020-03-19)
client (0, 2020-03-19)
client\.babelrc (60, 2020-03-19)
client\.eslintrc.js (509, 2020-03-19)
client\package-lock.json (647235, 2020-03-19)
client\package.json (2026, 2020-03-19)
client\public (0, 2020-03-19)
client\public\favicon.ico (37430, 2020-03-19)
client\public\index.html (455, 2020-03-19)
client\public\manifest.json (552, 2020-03-19)
client\public\robots.txt (67, 2020-03-19)
client\src (0, 2020-03-19)
client\src\App.jsx (3790, 2020-03-19)
client\src\AppContext.js (104, 2020-03-19)
client\src\components (0, 2020-03-19)
client\src\components\Badge.jsx (1383, 2020-03-19)
client\src\components\Collapsible.jsx (2760, 2020-03-19)
client\src\components\Cookies.jsx (1883, 2020-03-19)
client\src\components\ForgetMe.jsx (2292, 2020-03-19)
client\src\components\GlobalAlert.jsx (1537, 2020-03-19)
client\src\components\Modal.jsx (1017, 2020-03-19)
client\src\components\MyInterests.jsx (4291, 2020-03-19)
client\src\components\MyProfile.jsx (5029, 2020-03-19)
client\src\components\MySubscriptions.jsx (8026, 2020-03-19)
client\src\components\index.js (470, 2020-03-19)
client\src\elements (0, 2020-03-19)
client\src\elements\Checkbox.jsx (1841, 2020-03-19)
client\src\elements\EmailInput.jsx (1415, 2020-03-19)
client\src\elements\MultiSelect.jsx (3168, 2020-03-19)
client\src\elements\Section.jsx (1553, 2020-03-19)
client\src\elements\Switch.jsx (3873, 2020-03-19)
client\src\elements\TextInput.jsx (1536, 2020-03-19)
client\src\elements\index.js (306, 2020-03-19)
client\src\index.js (4660, 2020-03-19)
... ...

# No-Code Preference Center ## Requirements For development, you will only need Node.js installed on your environement. Please use the appropriate [Editorconfig](http://editorconfig.org/) plugin for your Editor (not mandatory). ### Node [Node](http://nodejs.org/) is really easy to install & now include [NPM](https://npmjs.org/). You should be able to run the following command after the installation procedure below. $ node --version v10.16.0 $ npm --version 6.9.0 #### Node installation on OS X You will need to use a Terminal. On OS X, you can find the default terminal in `/Applications/Utilities/Terminal.app`. Please install [Homebrew](http://brew.sh/) if it's not already done with the following command. $ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" If everything when fine, you should run brew install node #### Node installation on Linux sudo apt-get install python-software-properties sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs #### Node installation on Windows Just go on [official Node.js website](http://nodejs.org/) & grab the installer. Also, be sure to have `git` available in your PATH, `npm` might need it. --- ## Install $ git clone https://github.com/horizontalintegration/ncpc-react-app.git $ cd PROJECT ### Install Node Dependencies $ npm install ### Local Development This project makes extensive use of web services for fetching user data and updating users' preferences. Under normal conditions, it is best to use data provided by these services when working locally. To do so, simply run the following command: $ npm run dev Occasionally it becomes necessarry to work with data that is not yet provided by the web services. To that end, the project can be run in local-only mode. Web service data is then replaced with the contents of static, JSON files saved within the project. To run in local-only mode, use the following command: $ npm run local NOTE: The NCPC React app requires valid user ID and language/business unit query string parameters exist; e.g. http://horizontal-ncpc-dev.herokuapp.com/?id=0032E00002jqqM5QAI&langBU=EN-US ## Build for Production The No Code Preference Center relies on Heroku for all deployed instances from dev to staging to production. As such, no specific action is required on the part of the developer to build the project for production use. To monitor builds and access deployed instances, request access to [https://dashboard.heroku.com/teams/horizontal/apps](https://dashboard.heroku.com/teams/horizontal/apps) from your team lead. --- ## Languages & Tools ### Web Services - [Express](https://expressjs.com/) for handling web requests. ### JavaScript - [React](http://facebook.github.io/react) is used for UI. ### CSS - [SASS](https://sass-lang.com) is used to write futureproof CSS.

近期下载者

相关文件


收藏者