Skip to content

Commit

Permalink
Task_2_Done
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandszoke committed Sep 20, 2019
1 parent b1fc064 commit eb610de
Show file tree
Hide file tree
Showing 19 changed files with 6,548 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .eslintrc.json
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
}
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
build/

.vscode
.env
14 changes: 13 additions & 1 deletion README.md
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
19 changes: 19 additions & 0 deletions docker-compose.yaml
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
Loading

0 comments on commit eb610de

Please sign in to comment.