-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1fc064
commit eb610de
Showing
19 changed files
with
6,548 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"airbnb-base" | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018 | ||
}, | ||
"rules": { | ||
"global-require": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules/ | ||
build/ | ||
|
||
.vscode | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# jsconfbp-2019-graphq | ||
|
||
createdb gqlTraining | ||
## Prerequisites | ||
|
||
- node (v10 or higher), npm | ||
- docker | ||
- docker-compose | ||
|
||
## Database | ||
|
||
- docker-compose up -d | ||
|
||
## Open Weather API | ||
|
||
Follow the instructions and get an access token at: https://openweathermap.org/appid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Use postgres/example user/password credentials | ||
version: '3.1' | ||
services: | ||
db: | ||
restart: always | ||
image: postgres:latest | ||
ports: | ||
- 5432:5432 | ||
environment: | ||
- POSTGRES_USER=risingstack_trainee | ||
- POSTGRES_PASSWORD=welovenode | ||
- POSTGRES_DB=jsconf_graphql_training_2019 | ||
adminer: | ||
image: adminer | ||
restart: always | ||
ports: | ||
- 8080:8080 | ||
links: | ||
- db |
Oops, something went wrong.