1.7.1 • Published 1 year ago

@knno/web v1.7.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@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 build

Start the project

npm start

Use nodemon to debug project

  1. Start watching
npm run watch
  1. Create a 'JavaScript Debug Terminal' window (in vscode) and run following command:
npm run debug

Features

  • 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
  • Template: Provide js template render method (Powered by thor-tpl)
  • WebSocket: Provide WebSocket communication
  • Auto generate api-docs page (See demo project to get more details)
1.7.1

1 year ago

1.7.0

1 year ago

1.6.4

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.21

2 years ago

1.5.20

2 years ago

1.6.5

2 years ago

1.5.22

2 years ago

1.5.5

2 years ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago