O'Reilly logo

Mastering JavaScript Single Page Application Development by John Moore, Philip Klauzinski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required