© 2019 GoodData Corporation
GoodData Create React App
This is a CLI tool that creates a new React project with a proxy set up to connect to your projects on the GoodData platform.
The new app features some widgets and helpers that could come in handy.
This is built on top of Create React App. For more info see Create React App documentation.
How to use
To create a project called my-app
, run this command:
yarn create @gooddata/react-app my-app
Then follow the instructions provided by the CLI.
CLI docs
The CLI tool supports several flags:
-d, --domainUrl <domain>
URL of your GoodData domain-p, --projectId <projectId>
projectID of your GoodData project-c, --config <config>
path to configuration file (see below)--no-install
skip yarn installing the app dependencies-h, --help
output usage information
Configuration file
The configuration file has the following structure:
{
"domain": "(Required) domain where the project is hosted, e.g. https://developer.na.gooddata.com",
"projectId": "(Required) the projectId of the project (must be hosted on the domain specified above)",
"appName": "(Optional) name of the app to use"
}