Hi Luke,

The usual way is to create an API server, that sits in between your 
frontend and your database (in your case Mongo).
The goal of the API server is to make sure that there is no unauthorised 
access to the DB. While it is possible to connect you DB directly to the 
internet, this is very insecure. 
There are a couple of ways so you can use a REST or a GRAPHQL from within 
your server to hook up to your application.
Most of the solutions depend on what tech stack you like to use on the 
server.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to