Skip to content

hoshico/nest-typeorm-google-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hoshico's Nest.js Template

Group 28

Description

Using TypeORM version 3 for ORM, this template is implemented to perform Google authentication for all resources.

Main libraries

Name Version
TypeORM 0.3.20
Google Auth Library 9.9.20
Class Validator 9.9.20
uuid 9.0.1

Authentication and Authorization

The description regarding authentication is written in middleware > auth.middleware.ts. When a request is made to the API, authentication is first performed here using the id_token issued by Google's auth server.

API

Migration

First, plesa add entity and build

npm run typeorm migration:generate src/migrations/<migration name>

npm run typeorm migration:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published