/*
    ! /index.js
    ? The central API interface and orchestration layer for external requests.

    = LupiNex Connect – API Roadmap:
    ^ Database-Worker-Factory:
    DONE: The Database-Worker-Factory (/database/index.js) [30.08.2026] || The database documentation and usage can be found here.
    DONE: The Database-Pool (Connection) Manager (/database/pools.js) [30.08.2026]
    DONE: The MariaDB-"Commands"-Library (/database/commands.js) [30.08.2026]
    
    ^ WebSocket and Express Server:
    DONE: The Express-WebSocket-Loader-Module (/server/index.js) [30.08.2026] || The server documentation and usage can be found here.
    DONE: Autoloader for express routes (/server/routers.js) [30.08.2026]
    DONE: Autoloader for socket.io actions (/server/actions.js) [30.08.2026]
    TODO: Create a few actions for socket.io (/actions)
    TODO: Create a few routers for express (/routers)

    ^ Validation-Middlewares:
    TODO: 
*/

// % imports
import 'dotenv/config'; // import the dotenv config
import server from './server/index.js'; // import the server structures (express, socket.io) // always at the end