Automatic detection of isolation deficiencies on rolling trains
Execute the following command to install all the dependencies:
NPM Packages:
npm install
PHP Composer requirements:
cd api/
composer install
Useful commands:
- Start API and Frontend:
npm start - Start API:
npm run start:api - Start Frontend:
npm run start:frontend - Build:
npm run build
You can configure what kind of database you want to use with the file api/.env.
If you just use .env.example it will use a SQLite database. Initially you have to create an empty file:
touch api/database/thermoboard.sqlite
The API implements a GraphQL API.
After you started the backend, you can explore the GraphQL API here using GraphiQL: http://localhost:8080/graphiql