Skip to content

maestro-server/audit-app

Repository files navigation

Code Climate Build Status Issue Count Codacy Badge Coverage Status

Maestro Server

Maestro Server is an open source software platform for management and discovery servers, apps and system for Hybrid IT. Can manage small and large environments, be able to visualize the latest multi-cloud environment state.

Demo

To test out the demo, Demo Online

Documentation

Maestro Server - Audit App

Audit App is a single application to track and record resources change:

  • Track resources changes
  • Create a change tree
  • Store those data

arch

Core API:

  • Core
  • Authetication
  • Audit

TechStack

  • NodeJs 8.11.
  • MongoDB 3.6

Connect to:

  • Maestro Server App
  • Data App

Setup

Installation by docker

docker run -p 10900:10900  -e "MAESTRO_MONGO_URI=mongodb://localhost" -e "MAESTRO_MONGO_DATABASE=maestro-audit"  maestroserver/audit-maestro

Or by docker-compose

version: '2'

services:
    audit:
        image: maestroserver/audit-app-maestro
        environment:
        - "MAESTRO_MONGO_URI=mongodb://mongodb"
        - "MAESTRO_MONGO_DATABASE=maestro-audit"
        - "MAESTRO_DATA_URI=http://data:5010"
        depends_on:
        - mongodb

Dev Env

Configure database and port application in .env file

MAESTRO_PORT=10900
MAESTRO_MONGO_URI='mongodb://localhost'
MAESTRO_MONGO_DATABASE='maestro-audit'

Development

Install nodejs, version above 7.6, and mongodb need to be running.

npm install
npm run server

Run all tests or any test type

mocha test/**/*js --reporter spec

gulp test_e2e
gulp test_unit
gulp eslint

Env variables

Env Variables Example Description
MAESTRO_PORT 10900
NODE_ENV development production
MAESTRO_MONGO_URI mongodb://localhost DB string connection
MAESTRO_MONGO_DATABASE maestro-audit Database name
MAESTRO_TIMEOUT 1000 Timeout any http private request
MAESTRO_DATA_URI http://localhost:5010 Data App - API URL
MAESTRO_SECRETJWT_PRIVATE XXX Secret Key - JWT private connections
MAESTRO_NOAUTH XXX Secret Pass to validate private connections

Contribute

Are you interested in developing Maestro Server, creating new features or extending them?

We created a set of documentation, explaining how to set up your development environment, coding styles, standards, learn about the architecture and more. Welcome to the team and contribute with us.

See our developer guide

Contact

We may be able to resolve support queries via email. Please send me a message here

Donate

I have made Maestro Server with my heart, think to solve a real operation IT problem. Its not easy, take time and resources.

The donation will be user to:

  • Create new features, implement new providers.
  • Maintenance libs, securities flaws, and technical points.

Buy Me A Coffee

Sponsor