// apps/api/api/index.js

const path = require('path');
const Module = require('module');

process.env.NODE_PATH = [
    path.join(__dirname, '..', 'node_modules'),
    process.env.NODE_PATH || ''
].filter(Boolean).join(path.delimiter);

Module._initPaths();

const app = require('../src/app');

module.exports = app;