Skip to content
Snippets Groups Projects
Select Git revision
  • 3e36de76a5cb9b615aa2491c4dd44709b484c586
  • master default protected
  • dev
  • docker-issue-ok
  • design
  • DojoHepia-v1.0
  • DojoHepia-v0.5
  • DojoHepia-v0.4.5
  • DojoHepia-v0.4
  • DojoHepia-v0.3
  • DojoHepia-v0.2
  • DojoHepia-v0.1
12 results

app.java

Blame
  • Forked from alexandr.vanini / dojo-hepia
    Source project has a limited visibility.
    app.ts 810 B
    // Read from the .env file
    // ATTENTION : This lines MUST be the first of this file (except for the path import)
    const path = require('node:path');
    require('dotenv').config({
                                 path      : path.join(__dirname, '../.env.vault'),
                                 DOTENV_KEY: 'dotenv://:key_fc323d8e0a02349342f1c6a119bb38495958ce3a43a87d19a3f674b7e2896dcb@dotenv.local/vault/.env.vault?environment=development'
                             });
    require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file
    
    
    import CommanderApp from './commander/CommanderApp';
    import HttpManager  from './managers/HttpManager';
    import LocalConfig  from './config/LocalConfig';
    
    
    LocalConfig.loadConfig();
    HttpManager.registerAxiosInterceptor();
    
    new CommanderApp();