Skip to content

ditrit/leto-modelizer-admin

Repository files navigation

leto-modelizer-admin (leto-modelizer-admin)

Quality Gate Status Reliability Rating Maintainability Rating Security Rating

Code Smells Bugs Vulnerabilities Technical Debt

Lines of Code Coverage Duplicated Lines (%)

Administration application for leto-modelizer.

Features

Getting Started

Requirements

  • node - v18.14
  • npm - v8.19.3

This server is based on Quasar.

Installation

To get started with leto-modelizer-admin using Docker, follow these steps:

1. Install Docker

If you don't have Docker installed on your system, you can download and install it from the official website for your operating system:

2. Clone the repository

Open your terminal or command prompt and clone the project repository to your machine:

git clone git@github.com:ditrit/leto-modelizer-admin.git
cd leto-modelizer-admin

How to build this app

⚠️ Leto-Modelizer-Admin can't work without Leto-Modelizer-Api and Leto-Modelizer, you must setup both of them first!

Configuration

We are using Leto-Modelizer-Api authentication (as a backend). To configure it, you must fill the configuration inside global.config.json root file.

{
  "backendUrl": "https://localhost:8443",
  "backendAppId": "leto-modelizer-api-dev",
  "letoModelizerUrl": "http://localhost:8080",
  "inputDebounceTime": 1000
}

Here's a description of each key in the provided configuration:

  • backendUrl: the url of the backend, this field is mandatory.
  • backendAppId: the application ID of the backend, this field is mandatory.
  • letoModelizerUrl: the url of the leto-modelizer application, this field is mandatory.
  • inputDebounceTime: debounce time for filters input, default time is 1000ms.

Native build

Run this command to build the app:

npm run build

It will generate the built application in the dist folder.

Docker build

To build this app with docker, please use this command:

docker build . -t leto-modelizer-admin

About

Administration view for leto-modelizer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published