This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"users": [ | |
{ | |
"id": 1, | |
"isActive": false, | |
"balance": 1397.32, | |
"avatar": "http://placehold.it/32x32", | |
"first_name": "Ryan", | |
"last_name": "Kent", | |
"gender": "male" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Inicio de programa'); | |
setTimeout( () => { | |
console.log('Primer Timeout'); | |
}, 3000 ); | |
setTimeout( () => { |
M谩s informaci贸n - Docs Oficiales
- Instalar TypeScript y tipos de Node, como dependencia de desarrollo
npm i -D typescript @types/node
- Inicializar el archivo de configuraci贸n de TypeScript ( Se puede configurar al gusto)
Documentaci贸n oficial sobre Jest
- Instalaciones de desarrollo (super test es 煤til para probar Express)
npm install -D jest @types/jest ts-jest supertest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORT=3000 | |
PUBLIC_PATH=public | |
POSTGRES_URL=postgresql://postgres:123456@localhost:5432/TODO | |
POSTGRES_USER=postgres | |
POSTGRES_DB=TODO | |
POSTGRES_PORT=5432 | |
POSTGRES_PASSWORD=123456 |