Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-boot-framework

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-boot-framework

Back-end framework build on top of Express.js

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Express Boot Framework

Introduction

Express Boot Framework is a back-end TypeScript framework build on top of Express.js framework and add many additional features to help make easier, faster and more efficient Express.js App building.

Why Express Boot ?

  • Faster and easier setup: Express Boot Framework provides a set of default configurations (cookie parser, json parser, multer, cors, ...) so that you don't have to manuall provide it except you need to configure something the way you want. You can start your app with just a line of code.
  • Dependency management: With Express Boot, you don't have to manage dependencies between classes and objects because this will be handled automatically by Express Boot's Context. All you need to do is declare and inject.
  • Managability: With Express Boot, your project will be more Managability, this is because of Express Boot is a method-based framework, that means all you need to do is just define methods in class in a .ts file and Express Boot Framework will handle the rest automatically.
  • Modularization: Because dependencies between objects and classes will be handled by Express Boot, so you can have many files as you want and follow any structure you want as long as your .ts files placed in your source root.
  • Easier components testing: With Express Boot, you can have scripts in your app. (Scripts are methods which will be executed by Express Boot before the launch of your Express app, these usally use for testing your app's components)
  • Session management: In Express Boot, there's a SessionFactory, which will help you manage your clients sessions.

Key components

  • Node: Is any object act as a component that compose your app (only one per type is enough) which will be the Express Boot Context inject into any method you want, you can call that specific method to get it.
  • Context (Core): A dependency manager or a configurations container or request handlers container. This object will automatically read your .ts files source root directory to looking for the informations of nodes, configurations, request handlers, request middlewares base on the decorators you marked on your classes and methods.
  • App (Core): Represent your Express Boot app that act as a wrapper of Express.js app and informations from Context. This component will use the informations from Context to configures, provides missings by the defaults as well and run Express.js app.
  • Session Factory: Session manager which provides sessions management feature.
  • Request Dispatcher: Provides request dispatching from one end-point to another end-point feature to your app.

Keywords

FAQs

Package last updated on 19 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc