2.0.1 • Published 7 months ago
@knno/web v2.0.1
@knno/web Framework
This framework is a light-weight, easy to use library. It provided most commonly used middlewares to let you can develop a full featured web application.
Getting start:
Create the project
Create a full featured demo project that using @knno/web as back-end framework and using @knno/ui as front-end framework:
npm create knno-web <project-name>Build project
npm run buildStart the project
npm startUse nodemon to debug project
- Start watching
npm run watch- Create a 'JavaScript Debug Terminal' window (in vscode) and run following command:
npm run debugFeatures
- Session: Control user login status
- Security: Control access authorization
- Body Parser: Provide methods to access request contents
- Controller: Route request to controller js file
- Static: Provide static resources access
- JSX: Provide JSX SSR method (Powered by @knno/jsx)
- Auto generate api-docs page (See demo project to get more details)