Introduction to Supercharge
Supercharge differs from a typical Node.js “web” framework in ways that it provides much more structure on how to build solid applications. Supercharge comes with a well-conceived application architecture to build scalable, testable and maintainable applications.
The Supercharge framework builds on hapi.js to handle the request lifecycle including powerful middleware. Hapi is highly extensable and offers fine-grained request lifecycle extension points.
Supercharge offers a lot more than just a routing layer and thin middleware layer, like Express does. Supercharge gives you full control over your application by managing the environment and configuration of your app. Out-of-the-box utilities like event dispatching, hashing, encryption, mailing, and logging are part of the framework. You can use them right away when working with Supercharge.
A common Node.js web framework let’s you register routes and the related route handlers. As soon as you need to run actions besides the request lifecycle, it becomes hard to manage. Imagine a route handler for user registration that should send a welcome email to the user that recently signed up. Supercharge let’s you easily move the mail handling to a background process (like an event listener) and not clutter your route handler with mail sending tasks.
Stay up-to-date with the latest development and updates on Supercharge: