Find out how to install CouchDB on your local machine to mimic communication between your Angular 2 application and a server.
- [Instructor] CouchDB is a document-based database that we'll use in this course to mimic communication between Angular and a server, to demonstrate server-side data storage options. We're using CouchDB because it's easy to use and will keep this course focused on how data is stored and retrieved from a server without straying too far into database management. To install CouchDB, simply download the binary from the official CouchDB website and launch the application. By default, Google Chrome saves downloads to the Downloads folder in your Home directory on Mac OSX.
You can run the application directly from the Downloads folder or you can move it to your Applications directory like I will here. You should see a browser-based interface appear, bound to local host port 5984, if everything installs correctly. To shut down the server and unbind the port, select Quit Apache CouchDB from the CouchDB menu bar application.
- Overview of data storage options
- Saving and retrieving data from the browser
- Setting routes in the URL
- Using query strings and fragments instead of routes
- Saving and retrieving data from a server
- Working with user input
- Using JSONP instead of HTTP
- Why writing custom services is important
- Writing custom services for working with browsers and servers
Skill Level Intermediate
1. Getting Started
Application overview1m 39s
2. Data Storage Options
3. Storing Data in the Browser
4. Storing Data on a Server
5. Writing Custom Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.