Skip to content

Instantly share code, notes, and snippets.

@martinAlt335
martinAlt335 / authentication-1.controller.ts
Created March 5, 2022 00:29 — forked from jengel3/authentication-1.controller.ts
NestJS - Implementing Access & Refresh Token Authentication
// app/modules/authentication/authentication.controller.ts
import { Body, Controller, Post } from '@nestjs/common'
import { RegisterRequest } from './requests'
import { User } from '../../modules/user'
import { UsersService } from '../users/users.service'