Set Up MongoDB Example From Docs Not Working Anymore?

Hello there once more!

See title basically. Tried following the steps (https://docs.cleavr.io/guides/mongo/) but webapp is not available after deployment:

{“statusCode”:404,“message”:“Cannot GET /”,“error”:“Not Found”}

My first guess is that it has something to do with the new environment file system where there were PORT and other things before which are now missing?

Might be wrong though…

Thanks!

I just gave it a try and it looks to be working. You just need to add ‘cats’ to the URI.

https://example.com/cats

Though, nothing is in the database so only empty brackets are returned. I’ll admit that it’s not the sexiest example but was just to give an idea on how one might go about doing it.

@amiedema
Oh, stupid me… Sorry for the noise then!

Thank you for your time!

No worries at all!

And definitely not noise. :slight_smile:

1 Like