CONFIG
Closed this issue · 8 comments
is there any manual that i can read and get the env values from mongodb?
i am unable to find the options you have specified like
MONGODB_API
MONGODB_API_KEY
MONGODB_DATASOURCE
NEXT_PUBLIC_GA_MEASUREMENT_ID
all the variables looks same and its confusing me
MongoDB data API is deprecated, I will change it to another database, or use mongo client sdk to connect mongodb.
YOU MEAN SOMETHING LIKE THIS ?
mongodb+srv://ason:<db_password>@bXXXXz.mXXXXcyn.mongodb.net/?retryWrites=true&w=majority&appName=XYZ
Awesome! Thank you !
ahhhhhhhh i am unable to find this data api option....
using MongoDB SDK would be better than MongoDB API, i will update it in the next few days
will wait for the update then :)
hi, it has been updated. now, you can set a environment variable MONGO_URI
to connect your database.