https://github.com/thunder/thunder-react-app
https://github.com/thunder/thunder-react-app
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thunder/thunder-react-app
- Owner: thunder
- Created: 2021-11-24T11:30:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T10:37:52.000Z (over 3 years ago)
- Last Synced: 2025-01-06T16:14:17.290Z (4 months ago)
- Language: JavaScript
- Size: 173 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thunder React App
Demo app to fetch content from Thunder.
## Prerequirements
A recent version of the Thunder distribution. This patch is required for Thunder:
https://github.com/drupal-graphql/graphql/pull/1189## Usage
```
git clone https://github.com/thunder/thunder-react-app.git
cd thunder-react-app
npm install
```To run the app a .env file is needed. The following vars can be defined inside
that file:*REACT_APP_GRAPHQL_SERVER* The GraphQL endpoint URL
*REACT_APP_GRAPHQL_SERVER_USER* Basic auth user
*REACT_APP_GRAPHQL_SERVER_PASSWORD* Basic auth password
## Start the app
```
npm run start
```