Skip to content

Instantly share code, notes, and snippets.

View jengel3's full-sized avatar

Jake jengel3

  • Chicago, Illinois
View GitHub Profile
@jengel3
jengel3 / authentication-1.controller.ts
Last active April 23, 2024 19:26
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'
@jengel3
jengel3 / hello-plugin-store.example.js
Last active November 7, 2022 11:00
Plugin Injection in NuxtJS
// store/index.js
export const actions = {
print ({ commit, dispatch }, message) {
this.$hello(message)
},
}
// ...