장재혁

Add api project settings

1 node_modules 1 node_modules
2 +.history
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,6 +2,7 @@ module.exports = { ...@@ -2,6 +2,7 @@ module.exports = {
2 parser: '@typescript-eslint/parser', 2 parser: '@typescript-eslint/parser',
3 parserOptions: { 3 parserOptions: {
4 project: 'tsconfig.json', 4 project: 'tsconfig.json',
5 + tsconfigRootDir: __dirname,
5 sourceType: 'module', 6 sourceType: 'module',
6 }, 7 },
7 plugins: ['@typescript-eslint/eslint-plugin'], 8 plugins: ['@typescript-eslint/eslint-plugin'],
...@@ -20,5 +21,6 @@ module.exports = { ...@@ -20,5 +21,6 @@ module.exports = {
20 '@typescript-eslint/explicit-function-return-type': 'off', 21 '@typescript-eslint/explicit-function-return-type': 'off',
21 '@typescript-eslint/explicit-module-boundary-types': 'off', 22 '@typescript-eslint/explicit-module-boundary-types': 'off',
22 '@typescript-eslint/no-explicit-any': 'off', 23 '@typescript-eslint/no-explicit-any': 'off',
24 + '@typescript-eslint/no-unused-vars': 'off',
23 }, 25 },
24 }; 26 };
......
...@@ -23,10 +23,19 @@ ...@@ -23,10 +23,19 @@
23 "dependencies": { 23 "dependencies": {
24 "@nestjs/common": "^7.6.15", 24 "@nestjs/common": "^7.6.15",
25 "@nestjs/core": "^7.6.15", 25 "@nestjs/core": "^7.6.15",
26 + "@nestjs/graphql": "^7.10.3",
26 "@nestjs/platform-express": "^7.6.15", 27 "@nestjs/platform-express": "^7.6.15",
28 + "@nestjs/typeorm": "^7.1.5",
29 + "apollo-server-express": "^2.23.0",
30 + "class-transformer": "^0.4.0",
31 + "class-validator": "^0.13.1",
32 + "graphql": "^15.5.0",
33 + "graphql-tools": "^7.0.4",
27 "reflect-metadata": "^0.1.13", 34 "reflect-metadata": "^0.1.13",
28 "rimraf": "^3.0.2", 35 "rimraf": "^3.0.2",
29 - "rxjs": "^6.6.6" 36 + "rxjs": "^6.6.6",
37 + "sqlite3": "^5.0.2",
38 + "typeorm": "^0.2.32"
30 }, 39 },
31 "devDependencies": { 40 "devDependencies": {
32 "@nestjs/cli": "^7.6.0", 41 "@nestjs/cli": "^7.6.0",
......
This diff could not be displayed because it is too large.