An open API service indexing awesome lists of open source software.

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

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 =;
```