Skip to content

BRUHItsABunny/graphql_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRAPHQL Playground

I was bored and wanted to try some Graph+Postgres Based on this article

Additions on top of the aforementioned article:

Notes

Run Docker Postgres:

docker run --name postgres-db -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=playground_db -p 5432:5432 -d postgres

To Shell into Postgres:

docker exec -it postgres-db psql -U postgres -W

To create a database in Postgres after connecting: create database playground_db;

For the CMD's above, the DSN would be:

postgres://postgres:docker@localhost:5432/playground_db?sslmode=disable

About

Just a quick Postgres GraphQL setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published