NextJS Project Tutorial - Database Setup and Mongodb Connection - 09

Sdílet
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

Komentáře • 6

  • @Thejas2.0
    @Thejas2.0 Před 2 lety +1

    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: ""}

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  Před 2 lety

      Please refer this official doc of nextjs nextjs.org/docs/basic-features/environment-variables

  • @aSTr0NeRF0999
    @aSTr0NeRF0999 Před 2 lety

    Very helpful, thanks !

  • @websolutionsexpert
    @websolutionsexpert Před 2 lety

    Thank you so much

  • @JJ-ot3ps
    @JJ-ot3ps Před 2 lety

    do u still need to create an admin page or model folder?