Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit 08a0dd8

Browse files
authored
Merge pull request #393 from sarbull/happi-graph-in-react
Happi graph in react
2 parents c919e4d + 748c1db commit 08a0dd8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+5923
-11459
lines changed

react-ui/.env

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
REACT_APP_VERSION=$npm_package_version
22
REACT_APP_NAME=$npm_package_name
3-
REACT_APP_HOMEPAGE=/react-ui
4-
REACT_APP_ROOT_PATH=/react-ui
3+
REACT_APP_HOMEPAGE=/
4+
REACT_APP_ROOT_PATH=/
55
REACT_APP_API_URL=$npm_config_api_url

react-ui/.gitignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@ yarn-debug.log*
2323
yarn-error.log*
2424

2525
.idea
26-
build
27-
28-
src/mockData.ts
26+
build

react-ui/README.md

+39-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,46 @@
1-
# egeria-ui
1+
# Getting Started with Create React App
22

3-
## Prerequisites
4-
- node v16.13.0 (LTS)
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
54

65
## Available Scripts
76

8-
### `npm run start`
7+
In the project directory, you can run:
98

10-
#### `npm run start --api-url=http://localhost:9000`
9+
### `npm start`
1110

12-
This command will start the development server and all API calls are prefixed with the given API_URL parameter.
11+
Runs the app in the development mode.\
12+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
1313

14-
This works with `odpi/egeria-api-mocks` project started under port 9000 with `npm run start:dev` or an API that
15-
has the CORS feature on.
14+
The page will reload if you make edits.\
15+
You will also see any lint errors in the console.
16+
17+
### `npm test`
18+
19+
Launches the test runner in the interactive watch mode.\
20+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21+
22+
### `npm run build`
23+
24+
Builds the app for production to the `build` folder.\
25+
It correctly bundles React in production mode and optimizes the build for the best performance.
26+
27+
The build is minified and the filenames include the hashes.\
28+
Your app is ready to be deployed!
29+
30+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31+
32+
### `npm run eject`
33+
34+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35+
36+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37+
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39+
40+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41+
42+
## Learn More
43+
44+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45+
46+
To learn React, check out the [React documentation](https://reactjs.org/).

0 commit comments

Comments
 (0)