Introduction
Summer aims to provide a secure, high-quality, easy fast enterprise backend framework
Summer require Nodejs 16+
Main Features
Pleasure Programming
Summer cares about coding experience, always easy to learn and easy to use.Strict Runtime TypeScript Validation
TypeScript can be used for runtime request validation, this makes your backend app more secure and reliable.Simply DTO Conversion
Backend programming always deals with lots of DTO conversion, Summer provides 2 easy and safe functions for conversion.Custom Decorator
Custom decorators can extract request params, do auth, method interception, modify request results and lots of powerful jobs.One Complied Code, Deploy Everywhere
Summer use esbuild to pack code into ONE runnable js file. This compiled code is compatible to deploy in Kubernetes cluster or Serverless without changing any configuration.Best Swagger Integration
Summer Swagger plugin utilizes runtime typescript to generate API documents ( OpenAPI 3.0.x ), a single line of code can generate a full document. The Swagger plugin works together with Summer core decorators that can read @Max() Optional(?) and database column comments in TypeORM.Rich Extensions
Summer has commons backed tech extensions: Swagger (OpenAPI 3.0.3) / Redis / TypeORM (mysql + mangodb) / Graphql / ElasticSearch / Socket.IO
Create a New Project
npm create summer@latest
Start Dev Server
cd [ProjectName]
npm install
npm run serve