Izpētīt Sessions, pārtaisīt - eksistē, HTTP header session, Cookie session, File Session, DB session
await req.session.destroy()
better-sqlite3
nevis global mainīgie bet klasē
331{
2 "compilerOptions": {
3 "module": "none",
4 "target": "es6",
5 "moduleResolution": "node",
6 "allowSyntheticDefaultImports": true,
7 "strict": false,
8 "forceConsistentCasingInFileNames": true,
9 "isolatedModules": true,
10 "noEmit": true,
11 "strictNullChecks": false,
12 "noImplicitReturns": true,
13 "noImplicitThis": true,
14 "noFallthroughCasesInSwitch": true,
15 "noUnusedLocals": false,
16 "noImplicitAny": false,
17 "esModuleInterop": true,
18 "allowJs": true,
19 "skipLibCheck": true,
20 "baseUrl": "src",
21 "jsx": "react-jsx",
22 "preserveSymlinks": true,
23 "checkJs": false
24 },
25 "exclude": [
26 "node_modules",
27 "dist"
28 ],
29 "include": [
30 "src"
31 ]
32}
33
MVC
Interface ir iespējams extend