import App from './App' ; import { readConfigJson } from './utils/Config' ; import CategoryRouter from './controllers/CategoryRouter' ; import CategoryService from './services/CategoryService' ; readConfigJson ( ) ; const app = new App ( 3000 , [ new CategoryRouter ( ) ] ) ; const catService = new CategoryService ( ) ; catService . requestCategories ( ) ; app . listen ( ) ;