Skip to content

Instantly share code, notes, and snippets.

View csarrvas's full-sized avatar
💻
Just coding cool stuff

César Rivas csarrvas

💻
Just coding cool stuff
  • Growth Acceleration Partners
  • El Salvador
  • 19:16 (UTC -06:00)
View GitHub Profile
@Klerith
Klerith / configurar-node-ts.md
Last active May 22, 2024 22:31
Node con TypeScript - TS-Node-dev simplificado

Node con TypeScript - TS-Node-dev (preferido)

  1. Instalar TypeScript y demás dependencias
npm i -D typescript @types/node ts-node-dev rimraf
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
npx tsc --init --outDir dist/ --rootDir src
@Klerith
Klerith / pasos-node-ts-jest.md
Created August 19, 2023 18:35
Note + TypeScript + Jest = Testing

Pasos para configurar Jest con TypeScript, en Node

Documentación oficial sobre Jest

  1. Instalaciones de desarrollo (super test es útil para probar Express)
npm install -D jest @types/jest ts-jest supertest
@Klerith
Klerith / pasos-node-typescript.md
Last active May 23, 2024 02:15
Configurar proyecto de Node con TypeScript

Pasos para usar Node con TypeScript con Nodemon

Más información - Docs Oficiales

  1. Instalar TypeScript y tipos de Node, como dependencia de desarrollo
npm i -D typescript @types/node
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
@Klerith
Klerith / instalaciones-database.md
Last active May 8, 2024 16:46
Instalaciones necesarias para el curso de base de datos

postgresql Logo

SQL de cero: Tu guía práctica con PostgreSQL

Instalaciones recomendadas

Opcionales recomendadas

@Klerith
Klerith / vite-testing-config.md
Last active May 22, 2024 19:08
Vite + Jest + React Testing Library - Configuraciones a seguir

Instalación y configuracion de Jest + React Testing Library

En proyectos de React + Vite

  1. Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react 
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
  1. Opcional: Si usamos Fetch API en el proyecto:
@reinvanoyen
reinvanoyen / terminal-prompt-git-branch-zsh.md
Last active May 21, 2024 19:50
Add Git Branch Name to Terminal Prompt (MacOS zsh)

Add Git Branch Name to Terminal Prompt (zsh)

Updated for MacOS with zsh

  • Catalina
  • Big Sur
  • Monterey
  • Ventura
  • Sonoma

screenshot