DEV Community

Discussion on: How I made an app and pushed it live in 4 days

Collapse
pawelmiczka profile image
Paweł Miczka

Where you hosted your MongoDB? As far as I know Vercel or Netlifyy doesn't support back-end service (correct me if I am wrong).

Collapse
richardsprins profile image
Richard S Prins Jr.

Its probably using MongoDB Atlas, his backend is serverless functions via api routes that cpeak to the database.

Collapse
razvanstatescu profile image
Răzvan Stătescu Author

Yes, I'm using mongodb.com/cloud for hosting MongoDB. I'm using Next.JS API Routes which are basically lambda functions. You can host those both on Vercel and Netlify.