====== Express Server ====== Version History... **Version 2.0.2 (Loxberry 3 only)** * fix issue with language.ini files **Version 2.0.0 (Loxberry 3 only)** * updated dependencies * upgraded to node 18.12.1 * fix: loxberry 3.0 issue with handlebars templates: **Version 1.0.2 (pre-release)** * fix: Fix issue that template can't be rendered on async handlers * feature: add plugin url express path as a library method "expressPath" **Version 1.0.1 (pre-release)** * Commit Changelog also on prereleases * Change devDependencies to dependencies * Add missing Changelog file **Version 1.0.0 (pre-release)** * Ability to change the configured ports * Ability to set the default log level * Separation from setting and log in the UI * Ability to force restart in case of an error * Ability to open logs in a new tab * Ability to purge log files * Plugins don't need to add a .htaccess anylonger * New NPM Module for local plugin development based on express Loxberry Express Dev Server * Split between unauthenticated and authenticated requests * New fixed routes: /express (express.js) and /admin/express (express.auth.js) * Websockets only work in non authenticated layer (express.js) * Enforcing submodule express in webfrontend/htmlauth **Version 0.0.3** * Port Änderung von 3000, 3001 zu 3300, 3301 **Version 0.0.2** * Bugfixes * Improved Handler * Code is not automatically refreshed any longer **Version 0.0.1** * Die erste Pre release version des Plugins \\ \\ ---- Achtung Aufgrund eines Konfliktes im Portbereich wurde der Port ab Version 0.0.3 von 3000 auf 3300 geändert. ===== Download ===== https://github.com/LoxYourLife/loxberry-express/archive/refs/tags/0.0.3.zip ===== Funktion des Plugins ===== Das Plugin stellt einen Express Server bereit und ein kleines Interface um den Server zu stoppen oder neu zu starten. Ebenso kann man dort die Logs einsehen.\\ Mit dem Plugin kann ein Entwickler relativ einfach plugin code in NodeJs schreiben. Das Ging zwar schon vorher - wird mit dem Plugin aber deutlich einfacher. [[entwickler:node_js_plugin_entwicklung|Ausführliche Dokumentation zum Entwicklen von Plugins mit NodeJs]] ===== Installation ===== Ab Loxberry 2.2.0 sollte es ohne Probleme zu installieren sein. ===== Konfigurationsoptionen ===== Aktuell gibt es keine Konfigurationsoptionen. Zukünftig sollte man das LogLevel einstellen können und eventuell noch mehr. ===== Roadmap ===== * Konfigurationsoptionen * Bugfixes  ===== Fragen stellen und Fehler melden ===== https://www.loxforum.com/forum/projektforen/loxberry/entwickler/325250-plugins-mit-nodejs-express-oder-websockets-entwickeln-ein-plugin-macht%C2%B4s-einfacher \\ \\ \\