UNPKG
ticket-auth-project
Version:
latest (0.0.2)
0.0.2
0.0.1
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
ticket-auth-project
/
src
/
app.controller.ts
13 lines
(10 loc)
•
274 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
Controller
,
Get
}
from
'@nestjs/common'
;
import
{
AppService
}
from
'./app.service'
;
@Controller
()
export
class
AppController
{
constructor
(
private
readonly
appService
:
AppService
) {}
@Get
()
getHello
():
string
{
return
this
.
appService
.
getHello
(); } }