| 
					
				 | 
			
			
				@@ -26,6 +26,7 @@ class Server { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private readonly i18nPath?: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private readonly middlewaresPath?: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private readonly routesPath?: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private readonly viewEngine?: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public constructor(properties: ServerProperties) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.instance = express(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,6 +39,7 @@ class Server { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.i18nPath = properties.i18nPath; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.middlewaresPath = properties.middlewaresPath; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.routesPath = properties.routesPath; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		this.viewEngine = properties.viewEngine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.initialized = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -57,6 +59,8 @@ class Server { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			await this.registerMiddlewares(this.middlewaresPath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		if(this.routesPath) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			await this.registerRoutes(this.routesPath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if(this.viewEngine) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.instance.set('view engine', this.viewEngine); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private processHttpHandlers(): void { 
			 |