hero

Daze.js

Node.js Web Framework

Get Start


Easy to use

# install CLI tools
$ npm install -g @dazejs/cli

# create Daze.js project
$ daze create daze-example

# goto project dir
$ cd daze-example

# start service, default port is 8000
$ npm start
1
2
3
4
5
6
7
8
9
10
11

Make the best development experience possible

const { Controller, Route, Http } = require('@dazejs/framework')

@Route('/superman')
class Superman extends Controller {
  @Http.Get('/create')
  create() {
    return this.response().Created()
  }
}
1
2
3
4
5
6
7
8
9