Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
MONGODB_URI=mongodb://localhost:27017/intervyo

# JWT
JWT_SECRET=demo-secret-key-for-testing-only
JWT_SECRET=
demo-secret-key-for-testing-only

# Server
PORT=5000
Expand Down
67 changes: 67 additions & 0 deletions Backend/backend-error-utf8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[dotenv@17.2.3] injecting env (18) from .env -- tip: 🔐 prevent building .env in docker: https://dotenvx.com/prebuild
node : K:\Open source
\Intervyo\Backend\nod
e_modules\passport-oa
uth2\lib\strategy.js:
87
At line:1 char:1
+ node index.js 2>&1
| Out-File -Encoding
utf8 backend-error-ut
f8.txt
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpe
cified: (K:\Open
source\...\stra
tegy.js:87:Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError

if
(!options.clientID)
{ throw new TypeError
('OAuth2Strategy
requires a clientID
option'); }

^

TypeError:
OAuth2Strategy
requires a clientID
option
at Strategy.OAuth
2Strategy (K:\Open so
urce\Intervyo\Backend
\node_modules\passpor
t-oauth2\lib\strategy
.js:87:34)
at new Strategy
(K:\Open source\Inter
vyo\Backend\node_modu
les\passport-google-o
auth20\lib\strategy.j
s:52:18)
at file:///K:/Ope
n%20source/Intervyo/B
ackend/config/Passpor
t.js:53:3
at ModuleJob.run
(node:internal/module
s/esm/module_job:377:
25)
at async onImport
.tracePromise.__proto
__ (node:internal/mod
ules/esm/loader:671:2
6)
at async asyncRun
EntryPointWithESMLoad
er (node:internal/mod
ules/run_main:101:5)

Node.js v24.11.1
59 changes: 59 additions & 0 deletions Backend/backend-final-check.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
[dotenv@17.2.3] injecting env (18) from .env -- tip: ⚙️ specify custom .env file path with { path: '/custom/path/.env' }
⚠️ Google Strategy skipped: GOOGLE_CLIENT_ID or GOOGLE_CLIENT_SECRET not provided.
⚠️ GitHub Strategy skipped: GITHUB_CLIENT_ID or GITHUB_CLIENT_SECRET not provided.
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ write to custom object with { processEnv: myObject }
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ suppress all logs with { quiet: true }
⚠️ AI Content Generator disabled (missing GROQ_API_KEY)
⚠️ OpenAI API disabled (missing API key)
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ enable debug logging with { debug: true }
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ write to custom object with { processEnv: myObject }
node : (node:9324)
[MONGOOSE] Warning:
Duplicate schema
index on
{"interviewId":1}
found. This is often
due to declaring an
index using both
"index: true" and
"schema.index()".
Please remove the
duplicate index
definition.
At line:1 char:1
+ node index.js 2>&1
| Out-File -Encoding
utf8 backend-final-ch
eck.txt
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpe
cified: ((node:9
324) [MO...dex d
efinition.:Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError

(Use `node
--trace-warnings
...` to show where
the warning was
created)
(node:9324)
[MONGOOSE] Warning:
Duplicate schema
index on
{"shareToken":1}
found. This is often
due to declaring an
index using both
"index: true" and
"schema.index()".
Please remove the
duplicate index
definition.
[2026-02-22T04:36:03.517Z] [INFO] [Intervyo] Server running on port 5000
✅ Connected to MongoDB
109 changes: 109 additions & 0 deletions Backend/backend-mongo-check.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
[dotenv@17.2.3] injecting env (18) from .env -- tip: ⚙️ load multiple .env files with { path: ['.env.local', '.env'] }
⚠️ Google Strategy skipped: GOOGLE_CLIENT_ID or GOOGLE_CLIENT_SECRET not provided.
⚠️ GitHub Strategy skipped: GITHUB_CLIENT_ID or GITHUB_CLIENT_SECRET not provided.
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ specify custom .env file path with { path: '/custom/path/.env' }
[dotenv@17.2.3] injecting env (0) from .env -- tip: 🔑 add access controls to secrets: https://dotenvx.com/ops
⚠️ AI Content Generator disabled (missing GROQ_API_KEY)
⚠️ OpenAI API disabled (missing API key)
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ override existing env vars with { override: true }
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ load multiple .env files with { path: ['.env.local', '.env'] }
node : (node:24824)
[MONGOOSE] Warning:
Duplicate schema
index on
{"interviewId":1}
found. This is often
due to declaring an
index using both
"index: true" and
"schema.index()".
Please remove the
duplicate index
definition.
At line:1 char:1
+ node index.js 2>&1
| Out-File -Encoding
utf8 backend-mongo-ch
eck.txt
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpe
cified: ((node:2
4824) [M...dex d
efinition.:Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError

(Use `node
--trace-warnings
...` to show where
the warning was
created)
(node:24824)
[MONGOOSE] Warning:
Duplicate schema
index on
{"shareToken":1}
found. This is often
due to declaring an
index using both
"index: true" and
"schema.index()".
Please remove the
duplicate index
definition.
[2026-02-22T04:35
:36.044Z]
[ERROR]
[Intervyo] Uncaught
Exception:
{
"errorMessage":
"listen EADDRINUSE:
address already in
use :::5000",
"errorStack":
"Error: listen
EADDRINUSE: address
already in use
:::5000\n at Serve
r.setupListenHandle
[as _listen2]
(node:net:1940:16)\n
at
listenInCluster
(node:net:1997:12)\n
at Server.listen
(node:net:2102:7)\n
at file:///K:/Open%
20source/Intervyo/Bac
kend/index.js:183:10\
n at
ModuleJob.run (node:i
nternal/modules/esm/m
odule_job:377:25)\n
at async onImport.t
racePromise.__proto__
(node:internal/modul
es/esm/loader:671:26)
\n at async asyncR
unEntryPointWithESMLo
ader (node:internal/m
odules/run_main:101:5
)",
"errorName":
"Error"
}
[2026-02-22T04:35
:36.049Z]
[WARN]
[Intervyo]
uncaughtException
received. Starting
graceful shutdown...
[2026-02-22T04:35:36.051Z] [INFO] [Intervyo] HTTP server closed
✅ Connected to MongoDB
[2026-02-22T04:35:38.227Z] [INFO] [Intervyo] MongoDB connection closed
Binary file added Backend/backend-output.txt
Binary file not shown.
109 changes: 109 additions & 0 deletions Backend/backend-startup-verification.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
[dotenv@17.2.3] injecting env (18) from .env -- tip: ⚙️ load multiple .env files with { path: ['.env.local', '.env'] }
⚠️ Google Strategy skipped: GOOGLE_CLIENT_ID or GOOGLE_CLIENT_SECRET not provided.
⚠️ GitHub Strategy skipped: GITHUB_CLIENT_ID or GITHUB_CLIENT_SECRET not provided.
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ load multiple .env files with { path: ['.env.local', '.env'] }
[dotenv@17.2.3] injecting env (0) from .env -- tip: ✅ audit secrets and track compliance: https://dotenvx.com/ops
⚠️ AI Content Generator disabled (missing GROQ_API_KEY)
⚠️ OpenAI API disabled (missing API key)
[dotenv@17.2.3] injecting env (0) from .env -- tip: 🔄 add secrets lifecycle management: https://dotenvx.com/ops
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ specify custom .env file path with { path: '/custom/path/.env' }
node : (node:3228)
[MONGOOSE] Warning:
Duplicate schema
index on
{"interviewId":1}
found. This is often
due to declaring an
index using both
"index: true" and
"schema.index()".
Please remove the
duplicate index
definition.
At line:1 char:1
+ node index.js 2>&1
| Out-File -Encoding
utf8 backend-startup-
verifica ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpe
cified: ((node:3
228) [MO...dex d
efinition.:Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError

(Use `node
--trace-warnings
...` to show where
the warning was
created)
(node:3228)
[MONGOOSE] Warning:
Duplicate schema
index on
{"shareToken":1}
found. This is often
due to declaring an
index using both
"index: true" and
"schema.index()".
Please remove the
duplicate index
definition.
[2026-02-22T04:33
:29.487Z]
[ERROR]
[Intervyo] Uncaught
Exception:
{
"errorMessage":
"listen EADDRINUSE:
address already in
use :::5000",
"errorStack":
"Error: listen
EADDRINUSE: address
already in use
:::5000\n at Serve
r.setupListenHandle
[as _listen2]
(node:net:1940:16)\n
at
listenInCluster
(node:net:1997:12)\n
at Server.listen
(node:net:2102:7)\n
at file:///K:/Open%
20source/Intervyo/Bac
kend/index.js:183:10\
n at
ModuleJob.run (node:i
nternal/modules/esm/m
odule_job:377:25)\n
at async onImport.t
racePromise.__proto__
(node:internal/modul
es/esm/loader:671:26)
\n at async asyncR
unEntryPointWithESMLo
ader (node:internal/m
odules/run_main:101:5
)",
"errorName":
"Error"
}
[2026-02-22T04:33
:29.488Z]
[WARN]
[Intervyo]
uncaughtException
received. Starting
graceful shutdown...
[2026-02-22T04:33:29.489Z] [INFO] [Intervyo] HTTP server closed
✅ Connected to MongoDB
[2026-02-22T04:33:29.513Z] [INFO] [Intervyo] MongoDB connection closed
Loading