diff --git a/.env.example b/.env.example index d4c9197..f4acdf1 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,5 @@ PORT=4000 -DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ecommerce-db?schema=public" \ No newline at end of file +DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ecommerce-db?schema=public" +GITHUB_CLIENT_ID= +GITHUB_CLIENT_SECRET= +BASE_URL="http://localhost:4000" diff --git a/.eslintrc b/.eslintrc index 636a24d..0e7e208 100644 --- a/.eslintrc +++ b/.eslintrc @@ -6,5 +6,15 @@ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended" + ], + "overrides": [ + { + "files": ["*.graphql"], + "parser": "@graphql-eslint/eslint-plugin", + "plugins": ["@graphql-eslint"], + "rules": { + "@graphql-eslint/known-type-names": "error" + } + } ] } diff --git a/.graphqlrc.json b/.graphqlrc.json new file mode 100644 index 0000000..2ece39c --- /dev/null +++ b/.graphqlrc.json @@ -0,0 +1,3 @@ +{ + "schema": "https://localhost:4000" +} diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 8ba2a12..f986f2f 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -2,24 +2,21 @@ @@ -28,7 +25,7 @@