A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
16 lines
489 B
JavaScript
Executable File
16 lines
489 B
JavaScript
Executable File
const express = require('express');
|
|
const config = require('./utils/config.js');
|
|
const middleware = require('./utils/middleware.js');
|
|
const routes = require('./routes/routes.js');
|
|
const auth = require('./utils/auth.js');
|
|
|
|
(async () => {
|
|
const app = express();
|
|
middleware.setup(app);
|
|
await auth.initAuth(config.fileConfig);
|
|
routes.setup(app);
|
|
app.listen(config.PORT, '0.0.0.0', () => {
|
|
//console.log(`LibrePortal Web UI running on http://0.0.0.0:${config.PORT}`);
|
|
});
|
|
})();
|