Tell us what’s happening:
Describe your issue in detail here.
Your project link(s)
solution: https://replit.com/@adityathakur5/boilerplate-mongomongoose-1
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
.
Challenge: Install and Set Up Mongoose
Link to the challenge:
i think you have to make .env file in root folder
hi,
we cannot create a .env file in replit
ohh ya!
did you try to define your mongo uri here?
const mySecret = process.env['MONGO_URI']
should be process.env.MONGO_URI
By the way, its done,Thank you
const dotenv=require(‘dotenv’).config();
system
Closed
11
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.