We are using yarn
to manage our frontend dependencies. If you haven't
installed yarn
yet, check out the install instructions
here.
git clone [email protected]:ontohub/ontohub-frontend
Inside the project directory, run yarn
to install all needed dependencies.
If you are using Visual Studio Code, there are some Plugins we recommend using while developing on this project:
- ESLint: Display code style issues in the editor
- Prettier - ESLint: Automatically format the code according to our code style
- Debugger for Chrome: Launch a Chrome instance and debug from within the editor
- Auto Close Tag: Automatically close HTML (and JSX) tags
You can install them via the Plugin Manager from inside the editor.
Language features and extensions
Rendering
Routing
API
Tests
src
├── app.js
├── config
│ ├── apollo
│ │ ├── client.js
│ │ ├── queries
│ │ │ └── ...
│ │ └── ...
│ ├── routes.js
│ └── theme.json
├── lib
│ ├── __tests__
│ │ └── <...>.test.js
│ └── ...
└── scenes
├── __tests__
│ ├── global.js
│ ├── home.js
│ ├── organizational-unit.js
│ ├── repository.js
│ └── <...>.js
├── global.js
├── global
│ ├── __tests__
│ │ └── <...>.js
│ └── ...
├── home.js
├── home
│ ├── __tests__
│ │ └── header.js
│ │ └── <...>.js
│ ├── header.js
│ └── ...
├── organizational-unit.js
├── organizational-unit
│ ├── __tests__
│ │ └── header.js
│ │ └── <...>.js
│ ├── header.js
│ └── ...
├── repository.js
├── repository
│ ├── __tests__
│ │ └── header.js
│ │ └── <...>.js
│ ├── header.js
│ └── ...
└── ...
yarn start
yarn test
yarn format
yarn build