CouchDB, PouchDB, and Ionic 2: Adding Comments



By Josh Morony

Over the past few weeks, we have been building out a simple blogging application that is built with Ionic 2, CouchDB, and PouchDB. We have made quite a lot of progress so far, and in this tutorial, we will be adding the finishing touches on the core functionality. We already have the ability to add and view posts, and in this tutorial, we will be adding the ability to add and view comments for specific posts.

The approach we use for comments will be similar to the approach for posts, but there are some slight differences. When dealing with posts we could just grab every post, but when dealing with comments we only want to retrieve a specific set of comments from the database.

Read the full article...

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment