Skip to content

Commit aeb4625

Browse files
committed
Task_3_Done
1 parent b1fc064 commit aeb4625

19 files changed

+6574
-1
lines changed

.eslintrc.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"extends": [
9+
"airbnb-base"
10+
],
11+
"globals": {
12+
"Atomics": "readonly",
13+
"SharedArrayBuffer": "readonly"
14+
},
15+
"parserOptions": {
16+
"ecmaVersion": 2018
17+
},
18+
"rules": {
19+
"global-require": 0
20+
}
21+
}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
build/
3+
4+
.vscode
5+
.env

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# jsconfbp-2019-graphq
22

3-
createdb gqlTraining
3+
## Prerequisites
4+
5+
- node (v10 or higher), npm
6+
- docker
7+
- docker-compose
8+
9+
## Database
10+
11+
- docker-compose up -d
12+
13+
## Open Weather API
14+
15+
Follow the instructions and get an access token at: https://openweathermap.org/appid

docker-compose.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Use postgres/example user/password credentials
2+
version: '3.1'
3+
services:
4+
db:
5+
restart: always
6+
image: postgres:latest
7+
ports:
8+
- 5432:5432
9+
environment:
10+
- POSTGRES_USER=risingstack_trainee
11+
- POSTGRES_PASSWORD=welovenode
12+
- POSTGRES_DB=jsconf_graphql_training_2019
13+
adminer:
14+
image: adminer
15+
restart: always
16+
ports:
17+
- 8080:8080
18+
links:
19+
- db

0 commit comments

Comments
 (0)