cra-template-pe
v0.2.63
Published
Create-react-app template for initial ProtopiaEcosystem web console
Downloads
25
Readme
ProtopiaEcosystem CRA template
Create-react-app template for initial ProtopiaEcosystem web console
Please refer to its documentation: User Guide
Create new App:
1.
npx create-react-app my-app --template pe
cd my-app
npm i
2.
Answer the questions:
put your server url:
GraphQL uri of your PE-API. fro example: http://ux-api.protopia-home.ru/graphql
put your app's JWT-token:
put "http" or "https" protocol of your client:
put your client url:
You can skip the answers to these questions. In this case, fill in the fields of the src/config/config.json
3.
npm start to start local or npm run build to production build
There are 2 base modules in the current configuration:
- https://gitlab.com/protopiahome-public/protopia-ecosystem/react-pe-basic-module
- https://gitlab.com/protopiahome-public/protopia-ecosystem/react-pe-admin-module