Compare commits

...

2 Commits

Author SHA1 Message Date
Sambo Chea 00eedce6ea Updated readme
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-16 09:55:36 +07:00
Sambo Chea 84656ec61a
Update README.md 2021-09-16 09:54:21 +07:00

View File

@ -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[] = []