Audit App - Maestro Server - Enable tracking change on Maestro Server
7.9K
Audit App is webapp application port of Maestro Server stack, yours responsibility is:
We using DDD to organize the code, has infra, repositories, entities (values objects), interfaces, application, and domain.
Constructed with KrakenJs, we create a lot of middleware and organize by domain.
Core API, organized by modules:
docker run -p 10900:10900 -e "MAESTRO_MONGO_URI=mongodb" -e "MAESTRO_MONGO_DATABASE=maestro-audit" maestroserver/audit-maestro
Or by docker-compose
version: '2'
services:
server:
image: maestroserver/audit-maestro
ports:
- "10900:10900"
environment:
- "MAESTRO_MONGO_URI=mongodb"
- "MAESTRO_MONGO_DATABASE=maestro-audit"
Configure database and port application in .env file
MAESTRO_PORT=10900
MAESTRO_MONGO_URI='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 | Example | Description |
|---|---|---|
| MAESTRO_PORT | 10900 | |
| NODE_ENV | development | production |
| MAESTRO_MONGO_URI | 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 |
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.
Content type
Image
Digest
Size
126.1 MB
Last updated
almost 5 years ago
docker pull maestroserver/audit-app-maestro