Compare commits
2 Commits
dd445a22c0
...
00eedce6ea
Author | SHA1 | Date | |
---|---|---|---|
00eedce6ea | |||
|
84656ec61a |
@ -58,14 +58,19 @@ 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 from "../decorators/controller.decorator"
|
||||
import { Get, Post, Delete } from "../decorators/handlers.decorator"
|
||||
import { Controller, Get, Post, Delete } from "../decorators"
|
||||
|
||||
const data: any[] = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user