JS20

Documentation

JS20 - Documentation

Config & Web server

JS20 accepts a config property that provides a range of useful settings.

const app = new App({
    isProduction: false,
    server: {
        type: WebServerType.express,
        port: 65000,
    }
});

Provides the following output:

Express server is running on port 65000 🚀

What's happening here?

JS20