https://github.com/devferx/yard-sale-backend
Backend in Node.js for a product store, with authentication, CRUD of products in a relational database and service integrated with graphql
https://github.com/devferx/yard-sale-backend
apollo-server docker-compose e2e-testing graphql javascript jest node postgresql
Last synced: about 2 months ago
JSON representation
Backend in Node.js for a product store, with authentication, CRUD of products in a relational database and service integrated with graphql
- Host: GitHub
- URL: https://github.com/devferx/yard-sale-backend
- Owner: devferx
- Created: 2022-01-09T02:10:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T21:25:04.000Z (over 3 years ago)
- Last Synced: 2025-10-19T16:47:29.148Z (8 months ago)
- Topics: apollo-server, docker-compose, e2e-testing, graphql, javascript, jest, node, postgresql
- Language: JavaScript
- Homepage: https://yard-sale.up.railway.app/
- Size: 275 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yard Sale Backend
Uses:
### Docker Commands
**Run postgres and Pgadmin Docker**
```
docker-compose up -d postgres
docker-compose up -d pgadmin
```
**List Docker Process**
```
docker-compose ps
```
**Kill Process**
```
docker-compose down
```
```
docker-compose down postgres
```
**Conect to DB from Docker**
```sh
docker-compose exec postgres bash
psql -h localhost -d my_store -U devferx
\d+
SELECT * FROM users;
DELETE FROM users where id =;
```