I made a web framework
Hi everyone! I made an SSR web framework on NPM named Authtics Host (or HostJS ) About Based on tests, it starts the server in under 1 second. For a user to see the page, it takes 1-4 seconds. It also has a Developer Panel , which has controls to control the website (e.g., Restart, Shutdown and Pause Users) with DAT ( Developer Access Token ) authorization for the Developer Panel. The framework's…
A developer has created an SSR web framework named Authtics Host, also known as HostJS, and published it on NPM. The framework boasts impressive startup speed, launching the server in under one second. However, a user's experience begins around one to four seconds after loading the page. This is complemented by a Developer Panel, offering controls like Restart, Shutdown, and Pause Users, all secured with DAT (Developer Access Token) authorization.
The panel includes console and network tabs, allowing developers to monitor incoming, outgoing data and console logs. The framework's speed surpasses that of many alternatives, which typically require two to five seconds to start, and it lacks a console or network tab for mobile devices. Furthermore, the Developer Panel in other frameworks may not be optimized for mobile viewing.
The NPM package for the framework can be found at @bananacool467/authtics-host. To initiate the server, one needs to import the App module from "@bananacool467/authtics-host" and instantiate a new App instance. The server leverages several modules, including node:fs, node:http, and jiti. Prior to starting the server, it loads these modules and the jiti configuration file, ensuring a swift startup.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.