/e2e-api

Primary LanguageJavaScript

Install

npm install

Migrations

npm run migrations:run

Run in dev mode

npm run dev

Run in prod mode

npm run start

Connect to DB from Docker

docker-compose exec postgres bash
psql -h localhost -d my_store -U nico
\d+
SELECT * FROM users;
DELETE FROM users WHERE id=<id>;