Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alicbm/course_graphql_migration

Platzi course: We are migrating a REST API app to a GraphQL API app. Node.js - Sequelize - PostgreSQL - Express.js
https://github.com/alicbm/course_graphql_migration

Last synced: about 5 hours ago
JSON representation

Platzi course: We are migrating a REST API app to a GraphQL API app. Node.js - Sequelize - PostgreSQL - Express.js

Awesome Lists containing this project

README

        

# Install

```sh
npm install
```

# Migrations

```sh
npm run migrations:run
```

# Run in dev mode

```sh
npm run dev
```

# Run in prod mode

```sh
npm run start
```

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