Query with JavaScript and Build Web Apps with CouchDB


show more Storing data provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Up and Running with NoSQL Databases show less
please wait ...

Storing data

Many NoSQL databases store data without a predefined schema, and CouchDB is no exception. In this video, we'll start up CouchDB and start storing some data. First, go to your Applications folder, and navigate to CouchDB. When you double-click on CouchDB, it automatically opens up the Futon interface. We already have a couple of databases in this fresh server. We have _replicator and _users. These two databases are used to help run CouchDB.

CouchDB uses these databases as a way of organizing documents in specific sets. Databases are also used to enforce security and access control across all of the documents that are part of that database. In this course, we'll be creating a website for a restaurant. So let's create a database to support that. Click the Create Database link and then give the database a name of restaurant. Then click Create.

Now, we have a fresh database with no documents in it. Let's create the first document by clicking New Document. You'l...

Storing data
Video duration: 3m 48s 56m 57s Intermediate

Viewers:

Storing data provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Up and Running with NoSQL Databases

please wait ...