devlien
Version:
Devlien is a lightweight, zero-dependency Node.js framework with clean MVC structure, built-in ORM, and intuitive routing for rapid backend development.
12 lines (11 loc) • 395 B
JavaScript
import Listener from "devlien/listener";
import config from "devlien/config";
/*
* *************************************************************
* If the specified port is already in use,
* it will automatically try the next available port.
* Start the HTTP server on the port defined in
* the configuration.
* ****************************************
*/
Listener.active(config('app.port'));