modeldata

0.0.1 • Public • Published

Pre requisite

Please install yarn and mocha.

npm install -g yarn 
npm install -g mocha 

To run example:

clone the repo, then

bundle install
yarn install

Run this only once. It creates the sqlite3 db

cd example
bundle exec rake create_tables

Then run

foreman start

Then go to

http://localhost:8181

To access backend console

cd example
bundle exec rake console

To create sample data, from backend console

Blog.create(name: "blog one", content: "content one")
Blog.create(name: "blog two", content: "content two")

Dependencies (4)

Dev Dependencies (24)

Package Sidebar

Install

npm i modeldata

Weekly Downloads

1

Version

0.0.1

License

none

Unpacked Size

9.42 kB

Total Files

11

Last publish

Collaborators

  • sujithr