https://docs.nestjs.com/#alternatives
$ git clone https://github.com/nestjs/typescript-starter.git project
$ cd project
$ npm install
$ npm run start:dev
Subject: [PATCH] oauth
---
Index: src/app.controller.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/app.controller.ts b/src/app.controller.ts
--- a/src/app.controller.ts (revision 36123209514494c9f0ae3e26bf7f51ea2bd12021)
+++ b/src/app.controller.ts (date 1673145842362)
@@ -5,7 +5,7 @@
export class AppController {
constructor(private readonly appService: AppService) {}
- @Get()
+ @Get('oauth')
getHello(): string {
return this.appService.getHello();
}
https://developers.kakao.com/docs/latest/en/kakaologin/rest-api#request-code-request
https://kauth.kakao.com/oauth/authorize?client_id=${REST_API_KEY}&redirect_uri=${REDIRECT_URI}&response_type=code
https://developers.kakao.com/console/app/xxxxxx
http://localhost:3000/oauth
)