React's template for Blip plugin.
npm install cra-template-blip-pluginblip-plugin-project.
json
πblip-plugin-project
ββββπcharts
β ββββπblip-plugin-project
β ββββπtemplates
β β ββββ_helpers.tpl
β β ββββautoscale.yaml
β β ββββdeployment.yaml
β β ββββingress.yaml
β β ββββNOTES.txt
β β ββββsecrets.yaml
β β ββββservice.yaml
β ββββ.helmignore
β ββββChart.yaml
β ββββvalues.yaml
ββββπpublic
β ββββ...
ββββπsrc
β ββββπassets
β β ββββπimages
β β β ββββ...
β β ββββπstyles
β β ββββapp.scss
β ββββπcomponents
β β ββββπSomeComponent
β β ββββSomeComponent.js
β β ββββindex.js
β ββββπconfig
β β ββββπjest
β β β ββββfileTransform.js
β β ββββπscripts
β β β ββββplugin-config.js
β β βββββοΈappsettings.json
β β ββββindex.js
β ββββπconstants
β β ββββblip-portal-destinations.js
β β ββββ...
β ββββπfactory
β β ββββapi.js
β ββββπhooks
β β ββββuseFetch.js
β ββββπpages
β β ββββπHome
β β ββββπcomponents
β β β ββββπHeader
β β β ββββHeader.jsx
β β β ββββindex.js
β β ββββHome.js
β β ββββindex.js
β ββββπroutes
β β ββββAnalyticts.js
β β ββββindex.js
β β ββββRoutes.js
β ββββπservices
β β ββββapplication-service.js
β β ββββ...
β ββββπutils
β β ββββ...
β ββββApp.js
β ββββindex.js
ββββπ³.dockerignore
βββββοΈ.env
βββββοΈ.eslintignore
βββββοΈ.eslintrc
βββββοΈ.gitignore
βββββοΈ.prettierrc
ββββπ³Dockerfile
ββββπLICENSE
βββββοΈpackage.json
βββββοΈREADME.md
`
Usage
`bash
npx create-react-app PROJECT_NAME --template blip-plugin
#or
yarn create-react-app PROJECT_NAME --template blip-plugin
`
> Note: npx command installs most recent stable version of CRA from npm. --template parameter points to this template, note that cra-template- prefix is omitted.
Access the project folder.
`bash
cd PROJECT_NAME
`
> Configure ./charts according your project. Replace PLUGIN_NAME with the correct plugin name.
`bash
npm run config:plugin
#or
yarn config:plugin
`
Then, run the project.
`bash
npm start
#or
yarn start
``