This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
!!! Don't use npm run eject
!!!
Some hints for front end UI development should be listed here.
By default front end tries to connect to current serving address to look
for api. You can override this default behavior by creating
.env
file on root of front-end
react project and fill this inside:
REACT_APP_API_BASE_URL=http://x.x.x.x:4300/
Replace x.x.x.x
with your server address running Open Intelligence api.
- Go to
./api/front-end/src/translations
folder. - Clone some translations file like
en.json
and name it with target language short name. - Replace strings to have target translation.
- Make pull request and repository maintainer|author does rest or you can add navbar button if you want.
- Rest of the work happens via pull request -> review.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.