Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afperdomo2/curso-nodejs-e2e-apis
https://github.com/afperdomo2/curso-nodejs-e2e-apis
Last synced: about 13 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/afperdomo2/curso-nodejs-e2e-apis
- Owner: afperdomo2
- Created: 2024-07-02T22:54:12.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T22:59:20.000Z (4 months ago)
- Last Synced: 2024-07-31T17:56:55.646Z (4 months ago)
- Language: JavaScript
- Size: 274 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π»Project Setup
```sh
# Instalar dependencias
npm install# Migrations
npm run migrations:run# Run in dev mode
npm run dev# Run in prod mode
npm run start# Run test E2E
npm run e2e# Ejecutar pruebas y generar el reporte de cobertura
npm run e2e:coverage
```# Connect to DB from Docker
```sh
docker-compose exec postgres bash
psql -h localhost -d my_store -U nico
\d+
SELECT * FROM users;
DELETE FROM users WHERE id=;
```## π³ Docker Compose
```sh
# Ejecutar todos los contenedores
docker-compose up -d# Ejecutarlos de forma individual
docker-compose up -d postgres
docker-compose up -d pgadmin
```