Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alicbm/course_graphql_migration
- Owner: Alicbm
- Created: 2024-04-21T23:55:34.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-25T03:33:40.000Z (7 months ago)
- Last Synced: 2024-04-25T04:33:31.406Z (7 months ago)
- Language: JavaScript
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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=;
```