Skip to content

Commit 1d4340d

Browse files
committed
init
0 parents commit 1d4340d

34 files changed

+18160
-0
lines changed

.env.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
NODE_ENV=development
2+
HOST=localhost
3+
PORT=4000
4+
5+
DB_HOST=localhost
6+
DB_USER=postgres
7+
DB_PASSWORD=secret
8+
DB=axis

.eslintrc.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
module.exports = {
2+
env: {
3+
commonjs: true,
4+
es6: true,
5+
node: true
6+
},
7+
extends: [
8+
'standard'
9+
],
10+
globals: {
11+
Atomics: 'readonly',
12+
SharedArrayBuffer: 'readonly'
13+
},
14+
parser: 'babel-eslint',
15+
parserOptions: {
16+
ecmaVersion: 2020
17+
},
18+
rules: {
19+
curly: [ 'warn', 'multi-or-nest' ],
20+
'arrow-parens': [ 'warn', 'as-needed' ],
21+
'no-prototype-builtins': 'off',
22+
'object-curly-spacing': [ 'warn', 'always' ],
23+
'array-bracket-spacing': [ 'warn', 'always', {
24+
singleValue: false,
25+
objectsInArrays: false,
26+
arraysInArrays: true
27+
}]
28+
},
29+
overrides: [
30+
{
31+
files: [ '*.graphql', '*.gql' ],
32+
parser: '@graphql-eslint/eslint-plugin',
33+
plugins: ['@graphql-eslint']
34+
}
35+
]
36+
}

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.DS_Store
2+
node_modules
3+
postgres-data
4+
coverage
5+
6+
Makefile
7+
.env
8+
9+
*.log
10+
tmp/
11+
storage/*.*
12+
!storage/.gitkeep
13+
scripts/*
14+
15+
# Editor directories and files
16+
.idea
17+
.vscode
18+
*.bak
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.sw?

docker-compose.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# docker-compose.yml
2+
version: "3"
3+
services:
4+
postgres:
5+
container_name: postgres
6+
image: postgres:alpine
7+
restart: unless-stopped
8+
ports:
9+
- "5432:5432"
10+
volumes:
11+
- dev_pg_data:/var/lib/postgresql/data
12+
environment:
13+
POSTGRES_DB: axis
14+
POSTGRES_PASSWORD: secret
15+
16+
volumes:
17+
dev_pg_data:
18+
external: true

jsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"allowSyntheticDefaultImports": true,
4+
"experimentalDecorators": true,
5+
"baseUrl": ".",
6+
"paths": {
7+
"@/*": ["src/*"]
8+
}
9+
},
10+
"include": ["./src/**/*", "src"],
11+
"exclude": ["node_modules"]
12+
}

0 commit comments

Comments
 (0)