Skip to content
Snippets Groups Projects
Select Git revision
  • 4db9ee9e6127f6ad525794e8d3f984bfa45f4c09
  • main default protected
  • jw_sonar
  • v6.0.0 protected
  • interactive-mode-preference
  • bedran_exercise-list
  • add_route_user
  • Jw_sonar_backup
  • exercise_list_filter
  • assignment_filter
  • add_route_assignments
  • move-to-esm-only
  • 6.0.0-dev
  • Pre-alpha
  • 5.0.0
  • Latest
  • 4.2.0
  • 4.1.1
  • 4.1.0
  • 4.0.1
  • 4.0.0
  • 3.5.0
  • 3.4.2
  • 3.4.1
  • 3.3.0
  • 3.2.3
  • 3.2.2
  • 3.2.0
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 3.0.1
32 results

app.ts

Blame
  • app.ts 860 B
    // Read from the .env file
    // ATTENTION : These lines MUST be the first of this file (except for the path import)
    import path = require('node:path');
    import myEnv = require('dotenv');
    import dotenvExpand = require('dotenv-expand');
    
    
    dotenvExpand.expand(myEnv.config({
                                         path      : path.join(__dirname, '../.env'),
                                         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';
    
    
    HttpManager.registerAxiosInterceptor();
    
    
    (new CommanderApp()).parse();