Compare commits
No commits in common. "00eedce6ea3f4fffc0e4d39f94f572f648b83f1a" and "dd445a22c06da27dabdfd7873258c7e9b988ad5a" have entirely different histories.
00eedce6ea
...
dd445a22c0
@ -58,19 +58,14 @@ curl http://localhost:3000/info
|
||||
}
|
||||
```
|
||||
|
||||
# Build application
|
||||
|
||||
```shell
|
||||
yarn build
|
||||
```
|
||||
|
||||
# Quick Register Controller
|
||||
|
||||
- Add new controller `src/controller/home.controller.ts`
|
||||
|
||||
```typescript
|
||||
import { Request, Response } from "express"
|
||||
import { Controller, Get, Post, Delete } from "../decorators"
|
||||
import Controller from "../decorators/controller.decorator"
|
||||
import { Get, Post, Delete } from "../decorators/handlers.decorator"
|
||||
|
||||
const data: any[] = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user