NextJS Project Tutorial - Database Setup and Mongodb Connection - 09
Vložit
- čas přidán 6. 09. 2024
- Hey Friends,
In this Nextjs Project Tutorial we will be discussing about database setup and mongodb database connection using mongoose
NextJS Project Tutorial - Database Connection Mongodb using Mongoose - 09
2:30 I do not know if its deprecated with the new update, but as per my knowledge, you can create environmental variable by passing an "env" object into the next.cofig.js file:
eg: env: {MONGO_URL: ""}
Please refer this official doc of nextjs nextjs.org/docs/basic-features/environment-variables
Very helpful, thanks !
Thank you so much
Your welcome
do u still need to create an admin page or model folder?