Angular & MongoDB
Angular is a JavaScript development platform, commonly used for building web applications. Regardless of their purpose, most modern applications involve data. Data is stored to and retrieved from a database, such as MongoDB.
FAQ
You can connect to your database directly from your Angular client application. However, implementing a dedicated server-side code for database communication is considered a better practice in software architecture. This can be achieved both by implementing a client-server architecture or a serverless architecture.
Choosing a database for your project is a decision that must take into consideration much more than your client application platform. One approach is to implement a popular tech stack with a large community such as the MEAN stack, which uses MongoDB for the database layer.
Angular is a client-side technology and Node is a server-side technology. HTTP is a common protocol for client-server communication in web applications.
Get started with Atlas today
Get started in seconds. Our free clusters come with 512 MB of storage so you can play around with sample data and get oriented with our platform.
GET STARTED WITH:
- 125+ regions worldwide
- Sample data sets
- Always-on authentication
- End-to-end encryption
- Command line tools