#How can i deploy nestjs with mongoDB on cyclic or render or vercel? (preferably cyclic)

34 messages · Page 1 of 1 (latest)

dire crown
#

i tried to use cyclic with my nestjs and mongoDB but keep getting this error:

hazy sapphire
#

How are you deploying the mongodb?

dire crown
hazy sapphire
#

So, MongoDB, like many other databases, runs on a server. Just like the HTTP server you're trying to deploy. So where is Mongo deployed for you?

dire crown
#

i want to deploy it on cyclic

hazy sapphire
#

You want to deploy your NestJS server and the MongoDB server you want to connect to on Cyclic?

dire crown
#

i guess yea

#

i just want to use the apis i did

hazy sapphire
#

I don't think mongo can be deployed on cyclic. I'd have to double check that.

dire crown
#

sure

#

if its not possible

#

guide me to any other hosting service

hazy sapphire
#

Are you using a mongo atlas server? Or how do you run mongodb?

dire crown
#

ya

#

yea

#

atlas yea

hazy sapphire
dire crown
#

i saw it but
i dont understand how to use this in nest 😭

#

im new to nest

hazy sapphire
#

What do you mean "how to use this in nest"? This isn't something you configure inside your Nest server, you configure it in your atlas connectuion dashboard

dire crown
#

wow

#

nice

#

didnt know that

#

still new to the backend world 😅

#

thanks for the help ❤️

#

will try and tell what i have found

#

THANK U VERY MUCH

#

it worked

#

❤️ ❤️ ❤️ ❤️

#

the problem was that i didnt allow access to the site from my mongo ❤️