Could I connect my front-end directly to Atlas?

Hi, the community,

I’m developing a small web app that can store my movies watch list. I’m storing the data to the browser’s local storage and going to make it online so that I can access it from anywhere.

Because the application is really small, I don’t want to set up a back-end between the web app and database cloud. So as the title, could I connect my front-end directly to the Atlas without using any back-end? Or could I just call APIs to CRUD data in Atlas directly from my clients?

Thank you,

Hi @IM_Coder,

Welcome to MongoDB community.

For this use case a Realm application with a realm-web sdk is the perfect solution.

This is the most easy and optimized way to focus on your front-end app while having an elastic managed backend. Realm apps have a generous free tier therefore you should be good.


1 Like