/orders

AXA IM - Orders manager.

Primary LanguageJavaScriptMIT LicenseMIT

orders

AXA IM - Orders manager.

Requirements

  • Node.js version 10 or higher
  • MySQL v8 database.
  • MySQL V8 connector

Getting Started

First, clone (with git) and install the project with npm

$ git clone https://github.com/UIM-Community/orders.git
$ cd orders
$ npm ci

Then, you must create a file named .env at the root to configure the project.

$ touch .env

Add these environment variables and save them, you can change the values ​​of these keys according to your needs

api_http_port=1337
api_http_ssl=false
db_host=localhost
db_user=
db_password="NimSoft!01"
db_database=ca_uim_cmdb

Then just start the project with the following command:

$ npm start
# or without npm
$ node index.js

SSL Configuration

To enable SSL, enable the configuration key api_http_ssl to true (in the .env file).

Then create a SSL directory that will contain your key and cert file:

  • key.pem
  • cert.pem

CMDB SQL Tables

Find an export (dump) of the project SQL Tables in data/cmdb.sql

Endpoints

/view

Single Page Application endpoint (the interface).

License

MIT