This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -g nodal | |
nodal new todo-pgjson | |
cd todo-pgjson | |
nodal g:model Todo user_id:int tasks:json done:boolean | |
nodal g:controller --for Todos | |
nodal db:bootstrap | |
// add json data to seed.json | |
nodal db:seed |