This project is a demonstration of the requirement for a PouchDB serializer to make the ember-data hasMany relationship work.
- example-no-serialzier: A parent/child setup using ember-date belongsTo/hasMany. Objects are saved and displayed in the templates, but not persisted to PouchDB.
- example-with-serializer: Addition of 'serializers/application.js' containing:
import { Serializer } from 'ember-pouch';
export default Serializer.extend();
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd pouch-serializer-demo
npm install
bower install
ember serve
- Visit your app at http://localhost:4200.