Introduction
Modern Progressive Lightweight Node.js Framework with Serverless First
Halsp is an efficient and flexible progressive nodejs framework.
You can use native NodeJS services or run on serverless, and also support multiple microservice communication.
Advantage
- The source code is entirely composed of TypeScript with complete type definitions
- Component based addition function to avoid code redundancy and maintain project speed and efficiency
- A comprehensive IOC container that decouples large projects with dependency injection, making it easier to read
- Rich scalability, Halsp core uses middleware model, with strong scalability
- Route parsing associated with paths, further decoupling various modules, and route compilation can make requests more efficient
- Scan the project during the compilation phase, no longer scan modules during the runtime phase, resulting in faster startup speed
- Optimize serverless requests to avoid wasting request time on initialization like other frameworks
Environment
Question
- Use Discussions for general question
- Other code errors or functional suggestions
- Navigate to Halsp Issues
- When submitting an Issue, Select the Issue template and try to fill in the complete content as much as possible
Continue
Subsequent tutorials will use TS, and you can use the Babel compiler to use JS