RESTful web services
As mentioned earlier, the REST architectural style is often used to perform , Read, Update and Delete (Create, Read, Update, and Delete (CURD)) operations in modern web single page applications, and these operations are known as web services. To employ RESTful web services for your own application, you will need not only a HTTP server, but a hosted database or database server in order to perform CRUD operations on the data.
Setting up a simple database with MongoDB
MongoDB is the database used for the MEAN stack. It is an open source, document-oriented database system and can easily be added to your stack via download or package manager, depending upon the operating system you are using.
Installing MongoDB
MongoDB can be installed ...
Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.