-
Notifications
You must be signed in to change notification settings - Fork 0
/
edf
315 lines (313 loc) · 16 KB
/
edf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
[33mcommit 2e6e50772023fc59da6501c9e24605caa6c090d9[m[33m ([m[1;36mHEAD -> [m[1;32mmain[m[33m, [m[1;31morigin/main[m[33m)[m
Author: unknown <[email protected]>
Date: Sat Jun 4 21:34:08 2022 +0300
first commit
[1mdiff --git a/backend/.env b/backend/.env[m
[1mnew file mode 100644[m
[1mindex 0000000..9a69c24[m
[1m--- /dev/null[m
[1m+++ b/backend/.env[m
[36m@@ -0,0 +1 @@[m
[32m+[m[32mPORT=5000[m
\ No newline at end of file[m
[1mdiff --git a/backend/dist/index.js b/backend/dist/index.js[m
[1mnew file mode 100644[m
[1mindex 0000000..400422f[m
[1m--- /dev/null[m
[1m+++ b/backend/dist/index.js[m
[36m@@ -0,0 +1,16 @@[m
[32m+[m[32m"use strict";[m
[32m+[m[32mvar __importDefault = (this && this.__importDefault) || function (mod) {[m
[32m+[m[32m return (mod && mod.__esModule) ? mod : { "default": mod };[m
[32m+[m[32m};[m
[32m+[m[32mObject.defineProperty(exports, "__esModule", { value: true });[m
[32m+[m[32mconst express_1 = __importDefault(require("express"));[m
[32m+[m[32mconst dotenv_1 = __importDefault(require("dotenv"));[m
[32m+[m[32mdotenv_1.default.config();[m
[32m+[m[32mconst app = (0, express_1.default)();[m
[32m+[m[32mconst port = process.env.PORT;[m
[32m+[m[32mapp.get('/', (req, res) => {[m
[32m+[m[32m res.send('Hello');[m
[32m+[m[32m});[m
[32m+[m[32mapp.listen(port, () => {[m
[32m+[m[32m console.log(`Server is running at port ${port}`);[m
[32m+[m[32m});[m
[1mdiff --git a/backend/package-lock.json b/backend/package-lock.json[m
[1mnew file mode 100644[m
[1mindex 0000000..da94fb6[m
[1m--- /dev/null[m
[1m+++ b/backend/package-lock.json[m
[36m@@ -0,0 +1,3747 @@[m
[32m+[m[32m{[m
[32m+[m[32m "name": "backend",[m
[32m+[m[32m "version": "1.0.0",[m
[32m+[m[32m "lockfileVersion": 2,[m
[32m+[m[32m "requires": true,[m
[32m+[m[32m "packages": {[m
[32m+[m[32m "": {[m
[32m+[m[32m "name": "backend",[m
[32m+[m[32m "version": "1.0.0",[m
[32m+[m[32m "license": "ISC",[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "dotenv": "^16.0.1",[m
[32m+[m[32m "express": "^4.18.1"[m
[32m+[m[32m },[m
[32m+[m[32m "devDependencies": {[m
[32m+[m[32m "@types/express": "^4.17.13",[m
[32m+[m[32m "@types/node": "^17.0.38",[m
[32m+[m[32m "concurrently": "^7.2.1",[m
[32m+[m[32m "nodemon": "^2.0.16",[m
[32m+[m[32m "typescript": "^4.7.2"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@sindresorhus/is": {[m
[32m+[m[32m "version": "0.14.0",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",[m
[32m+[m[32m "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">=6"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@szmarczak/http-timer": {[m
[32m+[m[32m "version": "1.1.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",[m
[32m+[m[32m "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "defer-to-connect": "^1.0.1"[m
[32m+[m[32m },[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">=6"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/body-parser": {[m
[32m+[m[32m "version": "1.19.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",[m
[32m+[m[32m "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "@types/connect": "*",[m
[32m+[m[32m "@types/node": "*"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/connect": {[m
[32m+[m[32m "version": "3.4.35",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz",[m
[32m+[m[32m "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "@types/node": "*"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/express": {[m
[32m+[m[32m "version": "4.17.13",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz",[m
[32m+[m[32m "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "@types/body-parser": "*",[m
[32m+[m[32m "@types/express-serve-static-core": "^4.17.18",[m
[32m+[m[32m "@types/qs": "*",[m
[32m+[m[32m "@types/serve-static": "*"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/express-serve-static-core": {[m
[32m+[m[32m "version": "4.17.28",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz",[m
[32m+[m[32m "integrity": "sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "@types/node": "*",[m
[32m+[m[32m "@types/qs": "*",[m
[32m+[m[32m "@types/range-parser": "*"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/mime": {[m
[32m+[m[32m "version": "1.3.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",[m
[32m+[m[32m "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==",[m
[32m+[m[32m "dev": true[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/node": {[m
[32m+[m[32m "version": "17.0.38",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.38.tgz",[m
[32m+[m[32m "integrity": "sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g==",[m
[32m+[m[32m "dev": true[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/qs": {[m
[32m+[m[32m "version": "6.9.7",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",[m
[32m+[m[32m "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==",[m
[32m+[m[32m "dev": true[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/range-parser": {[m
[32m+[m[32m "version": "1.2.4",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",[m
[32m+[m[32m "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==",[m
[32m+[m[32m "dev": true[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/@types/serve-static": {[m
[32m+[m[32m "version": "1.13.10",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz",[m
[32m+[m[32m "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "@types/mime": "^1",[m
[32m+[m[32m "@types/node": "*"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/abbrev": {[m
[32m+[m[32m "version": "1.1.1",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",[m
[32m+[m[32m "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",[m
[32m+[m[32m "dev": true[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/accepts": {[m
[32m+[m[32m "version": "1.3.8",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",[m
[32m+[m[32m "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "mime-types": "~2.1.34",[m
[32m+[m[32m "negotiator": "0.6.3"[m
[32m+[m[32m },[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">= 0.6"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/ansi-align": {[m
[32m+[m[32m "version": "3.0.1",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz",[m
[32m+[m[32m "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "string-width": "^4.1.0"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/ansi-regex": {[m
[32m+[m[32m "version": "5.0.1",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",[m
[32m+[m[32m "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">=8"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/ansi-styles": {[m
[32m+[m[32m "version": "4.3.0",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",[m
[32m+[m[32m "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "color-convert": "^2.0.1"[m
[32m+[m[32m },[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">=8"[m
[32m+[m[32m },[m
[32m+[m[32m "funding": {[m
[32m+[m[32m "url": "https://github.com/chalk/ansi-styles?sponsor=1"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/anymatch": {[m
[32m+[m[32m "version": "3.1.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",[m
[32m+[m[32m "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "normalize-path": "^3.0.0",[m
[32m+[m[32m "picomatch": "^2.0.4"[m
[32m+[m[32m },[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">= 8"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/array-flatten": {[m
[32m+[m[32m "version": "1.1.1",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",[m
[32m+[m[32m "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/balanced-match": {[m
[32m+[m[32m "version": "1.0.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",[m
[32m+[m[32m "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",[m
[32m+[m[32m "dev": true[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/binary-extensions": {[m
[32m+[m[32m "version": "2.2.0",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",[m
[32m+[m[32m "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">=8"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/body-parser": {[m
[32m+[m[32m "version": "1.20.0",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz",[m
[32m+[m[32m "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==",[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "bytes": "3.1.2",[m
[32m+[m[32m "content-type": "~1.0.4",[m
[32m+[m[32m "debug": "2.6.9",[m
[32m+[m[32m "depd": "2.0.0",[m
[32m+[m[32m "destroy": "1.2.0",[m
[32m+[m[32m "http-errors": "2.0.0",[m
[32m+[m[32m "iconv-lite": "0.4.24",[m
[32m+[m[32m "on-finished": "2.4.1",[m
[32m+[m[32m "qs": "6.10.3",[m
[32m+[m[32m "raw-body": "2.5.1",[m
[32m+[m[32m "type-is": "~1.6.18",[m
[32m+[m[32m "unpipe": "1.0.0"[m
[32m+[m[32m },[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">= 0.8",[m
[32m+[m[32m "npm": "1.2.8000 || >= 1.4.16"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/boxen": {[m
[32m+[m[32m "version": "5.1.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz",[m
[32m+[m[32m "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "ansi-align": "^3.0.0",[m
[32m+[m[32m "camelcase": "^6.2.0",[m
[32m+[m[32m "chalk": "^4.1.0",[m
[32m+[m[32m "cli-boxes": "^2.2.1",[m
[32m+[m[32m "string-width": "^4.2.2",[m
[32m+[m[32m "type-fest": "^0.20.2",[m
[32m+[m[32m "widest-line": "^3.1.0",[m
[32m+[m[32m "wrap-ansi": "^7.0.0"[m
[32m+[m[32m },[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">=10"[m
[32m+[m[32m },[m
[32m+[m[32m "funding": {[m
[32m+[m[32m "url": "https://github.com/sponsors/sindresorhus"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/brace-expansion": {[m
[32m+[m[32m "version": "1.1.11",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",[m
[32m+[m[32m "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "balanced-match": "^1.0.0",[m
[32m+[m[32m "concat-map": "0.0.1"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/braces": {[m
[32m+[m[32m "version": "3.0.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",[m
[32m+[m[32m "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",[m
[32m+[m[32m "dev": true,[m
[32m+[m[32m "dependencies": {[m
[32m+[m[32m "fill-range": "^7.0.1"[m
[32m+[m[32m },[m
[32m+[m[32m "engines": {[m
[32m+[m[32m "node": ">=8"[m
[32m+[m[32m }[m
[32m+[m[32m },[m
[32m+[m[32m "node_modules/bytes": {[m
[32m+[m[32m "version": "3.1.2",[m
[32m+[m[32m "resolved": "https://registry.npmjs.org/bytes/-/byte