Fixtures for sails
JSON fixtures. Data are automatically loaded and checked every time you lift your sails (if you use bootstrap from examples). Suggestions and pull requests are welcome.
Howto
- Setup your models
- Edit your bootstrap.js
- Fill data
sails lift
Bootstrap config
Simply call #init(config, callback)
, it will handle the rest.
var fixtures = ; moduleexports{ fixtures;};
Data format
Fixtures are loaded in parallel. Their contents are loaded in series in specified order.