Skip to content

Instantly share code, notes, and snippets.

View V-Gutierrez's full-sized avatar
⚕️
Computer Therapist

Victor Gutierrez V-Gutierrez

⚕️
Computer Therapist
View GitHub Profile
@V-Gutierrez
V-Gutierrez / HttpStatusCode.ts
Created May 13, 2022 19:49 — forked from scokmen/HttpStatusCode.ts
Typescript Http Status Codes Enum
"use strict";
/**
* Hypertext Transfer Protocol (HTTP) response status codes.
* @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes}
*/
enum HttpStatusCode {
/**
* The server has received the request headers and the client should proceed to send the request body
@V-Gutierrez
V-Gutierrez / eslint_prettier_airbnb.md
Created May 11, 2022 15:24 — forked from bradtraversy/eslint_prettier_airbnb.md
ESLint, Prettier & Airbnb Setup

VSCode - ESLint, Prettier & Airbnb Setup

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node

Nest.js Cheatsheet

Nest CLI

  • npm i -g @nestjs/cli

Packages

  • yarn add class-validator class-transformer
  • yarn add @nestjs/mapped-types