typescript-express-starter 8.1.7 → 9.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.kr.md +5 -6
  2. package/README.md +5 -4
  3. package/lib/default/package.json +7 -10
  4. package/lib/default/src/http/auth.http +0 -5
  5. package/lib/default/swagger.yaml +0 -3
  6. package/lib/graphql/.env.development.local +1 -1
  7. package/lib/graphql/.env.production.local +1 -1
  8. package/lib/graphql/package.json +6 -9
  9. package/lib/knex/.env.development.local +1 -1
  10. package/lib/knex/.env.production.local +1 -1
  11. package/lib/knex/package.json +21 -24
  12. package/lib/knex/src/http/auth.http +0 -5
  13. package/lib/knex/swagger.yaml +0 -3
  14. package/lib/mikro-orm/.dockerignore +18 -0
  15. package/lib/mikro-orm/.editorconfig +9 -0
  16. package/lib/mikro-orm/.env.development.local +18 -0
  17. package/lib/mikro-orm/.env.production.local +18 -0
  18. package/lib/mikro-orm/.env.test.local +18 -0
  19. package/lib/mikro-orm/.eslintignore +1 -0
  20. package/lib/mikro-orm/.eslintrc +18 -0
  21. package/lib/mikro-orm/.huskyrc +5 -0
  22. package/lib/mikro-orm/.lintstagedrc.json +5 -0
  23. package/lib/mikro-orm/.prettierrc +8 -0
  24. package/lib/mikro-orm/.swcrc +41 -0
  25. package/lib/mikro-orm/.vscode/launch.json +35 -0
  26. package/lib/mikro-orm/.vscode/settings.json +6 -0
  27. package/lib/mikro-orm/Dockerfile +24 -0
  28. package/lib/mikro-orm/Makefile +29 -0
  29. package/lib/mikro-orm/docker-compose.yml +46 -0
  30. package/lib/mikro-orm/ecosystem.config.js +57 -0
  31. package/lib/mikro-orm/jest.config.js +12 -0
  32. package/lib/mikro-orm/nginx.conf +40 -0
  33. package/lib/mikro-orm/nodemon.json +12 -0
  34. package/lib/mikro-orm/package.json +77 -0
  35. package/lib/mikro-orm/src/app.ts +98 -0
  36. package/lib/mikro-orm/src/config/index.ts +5 -0
  37. package/lib/mikro-orm/src/controllers/auth.controller.ts +46 -0
  38. package/lib/mikro-orm/src/controllers/index.controller.ts +13 -0
  39. package/lib/mikro-orm/src/controllers/users.controller.ts +65 -0
  40. package/lib/mikro-orm/src/databases/index.ts +19 -0
  41. package/lib/mikro-orm/src/dtos/users.dto.ts +9 -0
  42. package/lib/mikro-orm/src/entities/base.entity.ts +16 -0
  43. package/lib/mikro-orm/src/entities/users.entity.ts +17 -0
  44. package/lib/mikro-orm/src/exceptions/HttpException.ts +10 -0
  45. package/lib/mikro-orm/src/http/auth.http +32 -0
  46. package/lib/mikro-orm/src/http/users.http +34 -0
  47. package/lib/mikro-orm/src/interfaces/auth.interface.ts +15 -0
  48. package/lib/mikro-orm/src/interfaces/routes.interface.ts +6 -0
  49. package/lib/mikro-orm/src/interfaces/users.interface.ts +5 -0
  50. package/lib/mikro-orm/src/middlewares/auth.middleware.ts +32 -0
  51. package/lib/mikro-orm/src/middlewares/error.middleware.ts +17 -0
  52. package/lib/mikro-orm/src/middlewares/validation.middleware.ts +25 -0
  53. package/lib/mikro-orm/src/routes/auth.route.ts +24 -0
  54. package/lib/mikro-orm/src/routes/index.route.ts +19 -0
  55. package/lib/mikro-orm/src/routes/users.route.ts +25 -0
  56. package/lib/mikro-orm/src/server.ts +11 -0
  57. package/lib/mikro-orm/src/services/auth.service.ts +63 -0
  58. package/lib/mikro-orm/src/services/users.service.ts +68 -0
  59. package/lib/mikro-orm/src/tests/auth.test.ts +66 -0
  60. package/lib/mikro-orm/src/tests/index.test.ts +18 -0
  61. package/lib/mikro-orm/src/tests/users.test.ts +70 -0
  62. package/lib/mikro-orm/src/utils/logger.ts +65 -0
  63. package/lib/mikro-orm/src/utils/util.ts +19 -0
  64. package/lib/mikro-orm/src/utils/validateEnv.ts +10 -0
  65. package/lib/mikro-orm/swagger.yaml +122 -0
  66. package/lib/mikro-orm/tsconfig.json +41 -0
  67. package/lib/mongoose/.env.development.local +1 -1
  68. package/lib/mongoose/.env.production.local +1 -1
  69. package/lib/mongoose/package.json +5 -8
  70. package/lib/mongoose/src/http/auth.http +0 -5
  71. package/lib/mongoose/swagger.yaml +0 -2
  72. package/lib/prisma/.env.development.local +1 -1
  73. package/lib/prisma/.env.production.local +1 -1
  74. package/lib/prisma/package.json +5 -8
  75. package/lib/prisma/src/http/auth.http +0 -5
  76. package/lib/prisma/swagger.yaml +0 -3
  77. package/lib/routing-controllers/package.json +6 -8
  78. package/lib/routing-controllers/src/http/auth.http +0 -5
  79. package/lib/sequelize/.env.development.local +1 -1
  80. package/lib/sequelize/.env.production.local +1 -1
  81. package/lib/sequelize/package.json +5 -8
  82. package/lib/sequelize/src/http/auth.http +0 -5
  83. package/lib/sequelize/swagger.yaml +0 -3
  84. package/lib/typegoose/.env.development.local +1 -1
  85. package/lib/typegoose/.env.production.local +1 -1
  86. package/lib/typegoose/package.json +4 -7
  87. package/lib/typegoose/src/http/auth.http +0 -5
  88. package/lib/typegoose/swagger.yaml +0 -2
  89. package/lib/typeorm/.env.development.local +1 -1
  90. package/lib/typeorm/.env.production.local +1 -1
  91. package/lib/typeorm/package.json +4 -7
  92. package/lib/typeorm/src/http/auth.http +0 -5
  93. package/lib/typeorm/swagger.yaml +0 -3
  94. package/package.json +6 -15
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "bcrypt": "^5.0.1",
20
- "class-transformer": "^0.4.0",
20
+ "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.1",
22
22
  "compression": "^1.7.4",
23
23
  "cookie-parser": "^1.4.5",
@@ -42,11 +42,9 @@
42
42
  "@types/compression": "^1.7.1",
43
43
  "@types/cookie-parser": "^1.4.2",
44
44
  "@types/cors": "^2.8.11",
45
- "@types/dotenv": "^8.2.0",
46
45
  "@types/express": "^4.17.13",
47
- "@types/helmet": "^4.0.0",
48
46
  "@types/hpp": "^0.2.1",
49
- "@types/jest": "^26.0.24",
47
+ "@types/jest": "27.4.x",
50
48
  "@types/jsonwebtoken": "^8.5.4",
51
49
  "@types/mongoose": "^5.10.1",
52
50
  "@types/morgan": "^1.9.3",
@@ -54,7 +52,6 @@
54
52
  "@types/supertest": "^2.0.11",
55
53
  "@types/swagger-jsdoc": "^6.0.1",
56
54
  "@types/swagger-ui-express": "^4.1.3",
57
- "@types/winston": "^2.4.4",
58
55
  "@typescript-eslint/eslint-plugin": "^4.28.2",
59
56
  "@typescript-eslint/parser": "^4.28.2",
60
57
  "cross-env": "^7.0.3",
@@ -62,15 +59,15 @@
62
59
  "eslint-config-prettier": "^8.3.0",
63
60
  "eslint-plugin-prettier": "^3.4.0",
64
61
  "husky": "^7.0.1",
65
- "jest": "^27.0.6",
62
+ "jest": "27.4.x",
66
63
  "lint-staged": "^11.0.0",
67
64
  "node-config": "^0.0.2",
68
65
  "node-gyp": "^8.1.0",
69
66
  "nodemon": "^2.0.9",
70
67
  "pm2": "^5.1.0",
71
68
  "prettier": "^2.3.2",
72
- "supertest": "^6.1.3",
73
- "ts-jest": "^27.0.7",
69
+ "supertest": "^6.2.2",
70
+ "ts-jest": "^27.1.4",
74
71
  "ts-node": "^10.4.0",
75
72
  "tsc-alias": "^1.4.1",
76
73
  "tsconfig-paths": "^3.10.1",
@@ -25,8 +25,3 @@ Content-Type: application/json
25
25
  # User Logout
26
26
  POST {{ baseURL }}/logout
27
27
  Content-Type: application/json
28
-
29
- {
30
- "email": "example@email.com",
31
- "password": "password"
32
- }
@@ -108,8 +108,6 @@ definitions:
108
108
  - email
109
109
  - password
110
110
  properties:
111
- id:
112
- description: user Id
113
111
  email:
114
112
  type: string
115
113
  description: user Email
@@ -2,7 +2,7 @@
2
2
  PORT = 3000
3
3
 
4
4
  # DATABASE
5
- DATABASE_URL= mysql://root:password@localhost:3306/test
5
+ DATABASE_URL= mysql://root:password@localhost:3306/dev
6
6
 
7
7
  # TOKEN
8
8
  SECRET_KEY = secretKey
@@ -2,7 +2,7 @@
2
2
  PORT = 3000
3
3
 
4
4
  # DATABASE
5
- DATABASE_URL= mysql://root:password@localhost:3306/test
5
+ DATABASE_URL= mysql://root:password@localhost:3306/prod
6
6
 
7
7
  # TOKEN
8
8
  SECRET_KEY = secretKey
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@prisma/client": "^3.7.0",
26
26
  "bcrypt": "^5.0.1",
27
- "class-transformer": "^0.4.0",
27
+ "class-transformer": "^0.5.1",
28
28
  "class-validator": "^0.13.1",
29
29
  "compression": "^1.7.4",
30
30
  "cookie-parser": "^1.4.5",
@@ -48,18 +48,15 @@
48
48
  "@types/compression": "^1.7.1",
49
49
  "@types/cookie-parser": "^1.4.2",
50
50
  "@types/cors": "^2.8.11",
51
- "@types/dotenv": "^8.2.0",
52
51
  "@types/express": "^4.17.13",
53
- "@types/helmet": "^4.0.0",
54
52
  "@types/hpp": "^0.2.1",
55
- "@types/jest": "^26.0.24",
53
+ "@types/jest": "27.4.x",
56
54
  "@types/jsonwebtoken": "^8.5.4",
57
55
  "@types/morgan": "^1.9.3",
58
56
  "@types/node": "^16.0.1",
59
57
  "@types/supertest": "^2.0.11",
60
58
  "@types/swagger-jsdoc": "^6.0.1",
61
59
  "@types/swagger-ui-express": "^4.1.3",
62
- "@types/winston": "^2.4.4",
63
60
  "@typescript-eslint/eslint-plugin": "^4.28.2",
64
61
  "@typescript-eslint/parser": "^4.28.2",
65
62
  "cross-env": "^7.0.3",
@@ -67,7 +64,7 @@
67
64
  "eslint-config-prettier": "^8.3.0",
68
65
  "eslint-plugin-prettier": "^3.4.0",
69
66
  "husky": "^7.0.1",
70
- "jest": "^27.0.6",
67
+ "jest": "27.4.x",
71
68
  "lint-staged": "^11.0.0",
72
69
  "node-config": "^0.0.2",
73
70
  "node-gyp": "^8.1.0",
@@ -75,8 +72,8 @@
75
72
  "pm2": "^5.1.0",
76
73
  "prettier": "^2.3.2",
77
74
  "prisma": "^3.7.0",
78
- "supertest": "^6.1.3",
79
- "ts-jest": "^27.0.7",
75
+ "supertest": "^6.2.2",
76
+ "ts-jest": "^27.1.4",
80
77
  "ts-node": "^10.4.0",
81
78
  "tsc-alias": "^1.4.1",
82
79
  "tsconfig-paths": "^3.10.1",
@@ -25,8 +25,3 @@ Content-Type: application/json
25
25
  # User Logout
26
26
  POST {{ baseURL }}/logout
27
27
  Content-Type: application/json
28
-
29
- {
30
- "email": "example@email.com",
31
- "password": "password"
32
- }
@@ -111,9 +111,6 @@ definitions:
111
111
  - email
112
112
  - password
113
113
  properties:
114
- id:
115
- type: integer
116
- description: user Id
117
114
  email:
118
115
  type: string
119
116
  description: user Email
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typescript-express-starter",
3
3
  "version": "0.0.0",
4
- "description": "TypeScript + Express + Routing Controllers API Server",
4
+ "description": "TypeScript + Routing Controllers + Express API Server",
5
5
  "author": "",
6
6
  "license": "ISC",
7
7
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "bcrypt": "^5.0.1",
20
- "class-transformer": "^0.4.0",
20
+ "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.1",
22
22
  "class-validator-jsonschema": "^3.0.2",
23
23
  "compression": "^1.7.4",
@@ -44,17 +44,14 @@
44
44
  "@types/compression": "^1.7.1",
45
45
  "@types/cookie-parser": "^1.4.2",
46
46
  "@types/cors": "^2.8.11",
47
- "@types/dotenv": "^8.2.0",
48
47
  "@types/express": "^4.17.13",
49
- "@types/helmet": "^4.0.0",
50
48
  "@types/hpp": "^0.2.1",
51
- "@types/jest": "^26.0.24",
49
+ "@types/jest": "27.4.x",
52
50
  "@types/jsonwebtoken": "^8.5.4",
53
51
  "@types/morgan": "^1.9.3",
54
52
  "@types/node": "^16.0.1",
55
53
  "@types/supertest": "^2.0.11",
56
54
  "@types/swagger-ui-express": "^4.1.3",
57
- "@types/winston": "^2.4.4",
58
55
  "@typescript-eslint/eslint-plugin": "^4.28.2",
59
56
  "@typescript-eslint/parser": "^4.28.2",
60
57
  "cross-env": "^7.0.3",
@@ -62,14 +59,15 @@
62
59
  "eslint-config-prettier": "^8.3.0",
63
60
  "eslint-plugin-prettier": "^3.4.0",
64
61
  "husky": "^7.0.1",
65
- "jest": "^27.0.5",
62
+ "jest": "27.4.x",
66
63
  "lint-staged": "^11.0.0",
67
64
  "node-config": "^0.0.2",
68
65
  "node-gyp": "^8.1.0",
69
66
  "nodemon": "^2.0.9",
70
67
  "pm2": "^5.1.0",
71
68
  "prettier": "^2.3.2",
72
- "ts-jest": "^27.0.7",
69
+ "supertest": "^6.2.2",
70
+ "ts-jest": "^27.1.4",
73
71
  "ts-node": "^10.4.0",
74
72
  "tsc-alias": "^1.4.1",
75
73
  "tsconfig-paths": "^3.10.1",
@@ -25,8 +25,3 @@ Content-Type: application/json
25
25
  # User Logout
26
26
  POST {{ baseURL }}/logout
27
27
  Content-Type: application/json
28
-
29
- {
30
- "email": "example@email.com",
31
- "password": "password"
32
- }
@@ -6,7 +6,7 @@ DB_HOST = localhost
6
6
  DB_PORT = 3306
7
7
  DB_USER = root
8
8
  DB_PASSWORD = password
9
- DB_DATABASE = test
9
+ DB_DATABASE = dev
10
10
 
11
11
  # TOKEN
12
12
  SECRET_KEY = secretKey
@@ -6,7 +6,7 @@ DB_HOST = localhost
6
6
  DB_PORT = 3306
7
7
  DB_USER = root
8
8
  DB_PASSWORD = password
9
- DB_DATABASE = test
9
+ DB_DATABASE = prod
10
10
 
11
11
  # TOKEN
12
12
  SECRET_KEY = secretKey
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "bcrypt": "^5.0.1",
20
- "class-transformer": "^0.4.0",
20
+ "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.1",
22
22
  "compression": "^1.7.4",
23
23
  "cookie-parser": "^1.4.5",
@@ -43,11 +43,9 @@
43
43
  "@types/compression": "^1.7.1",
44
44
  "@types/cookie-parser": "^1.4.2",
45
45
  "@types/cors": "^2.8.11",
46
- "@types/dotenv": "^8.2.0",
47
46
  "@types/express": "^4.17.13",
48
- "@types/helmet": "^4.0.0",
49
47
  "@types/hpp": "^0.2.1",
50
- "@types/jest": "^26.0.24",
48
+ "@types/jest": "27.4.x",
51
49
  "@types/jsonwebtoken": "^8.5.4",
52
50
  "@types/morgan": "^1.9.3",
53
51
  "@types/node": "^16.0.1",
@@ -55,7 +53,6 @@
55
53
  "@types/supertest": "^2.0.11",
56
54
  "@types/swagger-jsdoc": "^6.0.1",
57
55
  "@types/swagger-ui-express": "^4.1.3",
58
- "@types/winston": "^2.4.4",
59
56
  "@typescript-eslint/eslint-plugin": "^4.28.2",
60
57
  "@typescript-eslint/parser": "^4.28.2",
61
58
  "cross-env": "^7.0.3",
@@ -63,7 +60,7 @@
63
60
  "eslint-config-prettier": "^8.3.0",
64
61
  "eslint-plugin-prettier": "^3.4.0",
65
62
  "husky": "^7.0.1",
66
- "jest": "^27.0.6",
63
+ "jest": "27.4.x",
67
64
  "lint-staged": "^11.0.0",
68
65
  "node-config": "^0.0.2",
69
66
  "node-gyp": "^8.1.0",
@@ -71,8 +68,8 @@
71
68
  "pm2": "^5.1.0",
72
69
  "prettier": "^2.3.2",
73
70
  "sequelize-cli": "^6.2.0",
74
- "supertest": "^6.1.3",
75
- "ts-jest": "^27.0.7",
71
+ "supertest": "^6.2.2",
72
+ "ts-jest": "^27.1.4",
76
73
  "ts-node": "^10.4.0",
77
74
  "tsc-alias": "^1.4.1",
78
75
  "tsconfig-paths": "^3.10.1",
@@ -25,8 +25,3 @@ Content-Type: application/json
25
25
  # User Logout
26
26
  POST {{ baseURL }}/logout
27
27
  Content-Type: application/json
28
-
29
- {
30
- "email": "example@email.com",
31
- "password": "password"
32
- }
@@ -111,9 +111,6 @@ definitions:
111
111
  - email
112
112
  - password
113
113
  properties:
114
- id:
115
- type: integer
116
- description: user Id
117
114
  email:
118
115
  type: string
119
116
  description: user Email
@@ -4,7 +4,7 @@ PORT = 3000
4
4
  # DATABASE
5
5
  DB_HOST = localhost
6
6
  DB_PORT = 27017
7
- DB_DATABASE = test
7
+ DB_DATABASE = dev
8
8
 
9
9
  # TOKEN
10
10
  SECRET_KEY = secretKey
@@ -4,7 +4,7 @@ PORT = 3000
4
4
  # DATABASE
5
5
  DB_HOST = localhost
6
6
  DB_PORT = 27017
7
- DB_DATABASE = test
7
+ DB_DATABASE = prod
8
8
 
9
9
  # TOKEN
10
10
  SECRET_KEY = secretKey
@@ -43,11 +43,9 @@
43
43
  "@types/compression": "^1.7.1",
44
44
  "@types/cookie-parser": "^1.4.2",
45
45
  "@types/cors": "^2.8.11",
46
- "@types/dotenv": "^8.2.0",
47
46
  "@types/express": "^4.17.13",
48
- "@types/helmet": "^4.0.0",
49
47
  "@types/hpp": "^0.2.1",
50
- "@types/jest": "^26.0.24",
48
+ "@types/jest": "27.4.x",
51
49
  "@types/jsonwebtoken": "^8.5.4",
52
50
  "@types/mongoose": "^5.10.1",
53
51
  "@types/morgan": "^1.9.3",
@@ -55,7 +53,6 @@
55
53
  "@types/supertest": "^2.0.11",
56
54
  "@types/swagger-jsdoc": "^6.0.1",
57
55
  "@types/swagger-ui-express": "^4.1.3",
58
- "@types/winston": "^2.4.4",
59
56
  "@typescript-eslint/eslint-plugin": "^4.28.2",
60
57
  "@typescript-eslint/parser": "^4.28.2",
61
58
  "cross-env": "^7.0.3",
@@ -63,15 +60,15 @@
63
60
  "eslint-config-prettier": "^8.3.0",
64
61
  "eslint-plugin-prettier": "^3.4.0",
65
62
  "husky": "^7.0.1",
66
- "jest": "^27.0.6",
63
+ "jest": "27.4.x",
67
64
  "lint-staged": "^11.0.0",
68
65
  "node-config": "^0.0.2",
69
66
  "node-gyp": "^8.1.0",
70
67
  "nodemon": "^2.0.9",
71
68
  "pm2": "^5.1.0",
72
69
  "prettier": "^2.3.2",
73
- "supertest": "^6.1.3",
74
- "ts-jest": "^27.0.7",
70
+ "supertest": "^6.2.2",
71
+ "ts-jest": "^27.1.4",
75
72
  "ts-node": "^10.4.0",
76
73
  "tsc-alias": "^1.4.1",
77
74
  "tsconfig-paths": "^3.10.1",
@@ -25,8 +25,3 @@ Content-Type: application/json
25
25
  # User Logout
26
26
  POST {{ baseURL }}/logout
27
27
  Content-Type: application/json
28
-
29
- {
30
- "email": "example@email.com",
31
- "password": "password"
32
- }
@@ -108,8 +108,6 @@ definitions:
108
108
  - email
109
109
  - password
110
110
  properties:
111
- id:
112
- description: user Id
113
111
  email:
114
112
  type: string
115
113
  description: user Email
@@ -6,7 +6,7 @@ DB_HOST = localhost
6
6
  DB_PORT = 5432
7
7
  DB_USER = root
8
8
  DB_PASSWORD = password
9
- DB_DATABASE = test
9
+ DB_DATABASE = dev
10
10
 
11
11
  # TOKEN
12
12
  SECRET_KEY = secretKey
@@ -6,7 +6,7 @@ DB_HOST = localhost
6
6
  DB_PORT = 5432
7
7
  DB_USER = root
8
8
  DB_PASSWORD = password
9
- DB_DATABASE = test
9
+ DB_DATABASE = prod
10
10
 
11
11
  # TOKEN
12
12
  SECRET_KEY = secretKey
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "bcrypt": "^5.0.1",
20
- "class-transformer": "^0.4.0",
20
+ "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.1",
22
22
  "compression": "^1.7.4",
23
23
  "cookie-parser": "^1.4.5",
@@ -44,18 +44,15 @@
44
44
  "@types/compression": "^1.7.1",
45
45
  "@types/cookie-parser": "^1.4.2",
46
46
  "@types/cors": "^2.8.11",
47
- "@types/dotenv": "^8.2.0",
48
47
  "@types/express": "^4.17.13",
49
- "@types/helmet": "^4.0.0",
50
48
  "@types/hpp": "^0.2.1",
51
- "@types/jest": "^26.0.24",
49
+ "@types/jest": "27.4.x",
52
50
  "@types/jsonwebtoken": "^8.5.4",
53
51
  "@types/morgan": "^1.9.3",
54
52
  "@types/node": "^16.0.1",
55
53
  "@types/supertest": "^2.0.11",
56
54
  "@types/swagger-jsdoc": "^6.0.1",
57
55
  "@types/swagger-ui-express": "^4.1.3",
58
- "@types/winston": "^2.4.4",
59
56
  "@typescript-eslint/eslint-plugin": "^4.28.2",
60
57
  "@typescript-eslint/parser": "^4.28.2",
61
58
  "cross-env": "^7.0.3",
@@ -70,8 +67,8 @@
70
67
  "nodemon": "^2.0.9",
71
68
  "pm2": "^5.1.0",
72
69
  "prettier": "^2.3.2",
73
- "supertest": "^6.1.3",
74
- "ts-jest": "^27.0.7",
70
+ "supertest": "^6.2.2",
71
+ "ts-jest": "^27.1.4",
75
72
  "ts-node": "^10.4.0",
76
73
  "tsc-alias": "^1.4.1",
77
74
  "tsconfig-paths": "^3.10.1",
@@ -25,8 +25,3 @@ Content-Type: application/json
25
25
  # User Logout
26
26
  POST {{ baseURL }}/logout
27
27
  Content-Type: application/json
28
-
29
- {
30
- "email": "example@email.com",
31
- "password": "password"
32
- }
@@ -111,9 +111,6 @@ definitions:
111
111
  - email
112
112
  - password
113
113
  properties:
114
- id:
115
- type: integer
116
- description: user Id
117
114
  email:
118
115
  type: string
119
116
  description: user Email
package/package.json CHANGED
@@ -1,40 +1,31 @@
1
1
  {
2
2
  "name": "typescript-express-starter",
3
- "version": "8.1.7",
3
+ "version": "9.1.1",
4
4
  "description": "Quick and Easy TypeScript Express Starter",
5
5
  "author": "AGUMON <ljlm0402@gmail.com>",
6
6
  "license": "MIT",
7
7
  "keywords": [
8
8
  "typescript",
9
9
  "express",
10
- "routing-controllers",
11
- "routing-controllers-openapi",
12
10
  "sequelize",
13
11
  "mongoose",
14
- "typegoose",
15
12
  "typeorm",
16
13
  "knex",
17
14
  "prisma",
18
15
  "graphql",
19
- "apollo",
16
+ "typegoose",
17
+ "mikro-orm",
18
+ "routing-controllers",
19
+ "logger",
20
+ "swagger",
20
21
  "jest",
21
22
  "nodemon",
22
- "jsonwebtoken",
23
- "bcrypt",
24
- "logs",
25
- "winston",
26
- "swagger",
27
23
  "pm2",
28
24
  "eslint",
29
25
  "prettier",
30
26
  "docker",
31
27
  "docker-compose",
32
28
  "nginx",
33
- "huskyrc",
34
- "mysql",
35
- "mariadb",
36
- "mongodb",
37
- "postgresql",
38
29
  "swc"
39
30
  ],
40
31
  "main": "bin/cli.js",