Skip to content

ontohub/ontohub-frontend

Folders and files

NameName
Last commit message
Last commit date
Jun 14, 2018
Jun 14, 2018
Jun 28, 2017
Dec 20, 2017
Jun 14, 2018
Jun 14, 2018
Feb 26, 2018
Feb 26, 2018
Jun 28, 2017
Jul 14, 2017
Jun 28, 2017
Feb 21, 2018
Feb 26, 2018
Jun 14, 2018
Feb 23, 2019
Feb 23, 2019

Repository files navigation

Travis branch Codecov branch GitHub issues

Ontohub frontend

Table of Contents

Setting up the development environment

We are using yarn to manage our frontend dependencies. If you haven't installed yarn yet, check out the install instructions here.

Clone the repository

git clone git@github.com:ontohub/ontohub-frontend

Install the dependencies

Inside the project directory, run yarn to install all needed dependencies.

Visual Studio Code

If you are using Visual Studio Code, there are some Plugins we recommend using while developing on this project:

You can install them via the Plugin Manager from inside the editor.

Used technologies

Language features and extensions

Rendering

Routing

API

Tests

Directory structure

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
    │   └── ...
    └── ...

Common tasks

Running the app in development mode

yarn start

Run the tests

yarn test

Run the code formatter on the entire project

yarn format

Build the app in production mode

yarn build