@awesomeeng/awesome-stack

Application stack for enterprise ready nodejs applications.

Usage no npm install needed!

<script type="module">
  import awesomeengAwesomeStack from 'https://cdn.skypack.dev/@awesomeeng/awesome-stack';
</script>

README

AwesomeStack

AwesomeStack is an application stack for building enterprise ready nodejs applications. It provides a set of libraries for delivering stable, secure, and performant applications in a fast and reliable manner.

AwesomeStack includes...

  • AwesomeServer - A http/https/http2 API Server focused on implementing API end points.

  • AwesomeLog - Performant Logging for your application needs.

  • AwesomeConfig - Powerful configuration for your application.

  • AwesomeCLI - Rapidly implement Command Line Interfaces (CLI) for your application.

All AwesomeStack libraries and AwesomeStack itself is completely free and open source (MIT license) and has zero external dependencies. This means you can have confidence in your stack and not spend time worrying about licensing and code changing out from under you. Additionally, AwesomeStack and all of is components are maintained by The Awesome Engineering Company ensuring you a single point of contact and responsibility and unified support for your entire application.

Usage

You use AwesomeStack by installing it via npm and then requiring the module you need for what you are doing:

npm install @awesomeeng/awesome-stack
let Log = require("@awesomeeng/awesome-log");
Log.start();

let config = require("@awesomeeng/awesome-config");
config().init();
config().add({
    http: {
        hostname: "localhost",
        port: 4000
    }
});
config().start();

let server = require("@awesomeeng/awesome-server");
server.addHTTPServer(config.http);
server.route("*","*",(path,request,response)=>{
    Log.access("Request "+request.method+" "+request.path+" from "+request.origin+".");
});
server.route("get","/test",(path,request,response)=>{
    return response.writeText("Hello world!");
});

Not Using AwesomeStack

You can use AwesomeStack libraries (AwesomeServer, AwesomeLog, AwesomeConfig, AwesomeCLI) independantly from AwesomeStack, as needed. However, using AwesomeStack together provides your a more unified system with less points of failure and a single source of "truth".

The Awesome Engineering Company

AwesomeServer is written and maintained by The Awesome Engineering Company. We belive in building clean, configurable, creative software for engineers and architects and customers.

To learn more about The Awesome Engineering Company and our suite of products, visit us on the web at https://awesomeeng.com.

Support and Help

This product is maintained and supported by The Awesome Engineering Company. For support please file an issue or contact us via our Webiste at https://awesomeeng.com. We will do our best to respond to you in a timely fashion.

License

AwesomeServer is released under the MIT License. Please read the LICENSE file for details.