Thanks a lot man, you're helping me a lot for my project.
Wow this is very informative, the coding is very challenging though
what about all those errors of mongoose 7 ?when connected on mongo db
\OneDrive\Desktop\mearn\05_REACT\recipe-app\backend\node_modules\ts-node\src\index.ts:1621:12) at Module.load (node:internal/modules/cjs/loader:981:32) { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 4000 } [nodemon] app crashed - waiting for file changes before starting...
if you can't connect to Mongo Db add this on top require('dotenv').config({ path: __dirname+'/.env' });
error foodie-main\backend\node_modules\passport-jwt\lib\strategy.js:45 throw new TypeError('JwtStrategy requires a secret or key'); ^ TypeError: JwtStrategy requires a secret or key
@ikechukwu1peter