I've been working on using the MERN Stack to build my web apps, and the only way that I have found to connect to Mongo is using an API. I want to make sure my users' information stays private. So how would I go about doing that? Is it possible? If not, how should I connect React to my database?
Thanks for reading, and I'm sorry for any unclear information. I'm new to this and don't know how to convey my problem.