Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ember-cli-api-stub-static

kimagure3MITdeprecated0.0.1

this package is deprecated

Addon to ember-cli to support serving JSON files as API endpoints

ember-addon

readme

ember-cli-api-stub-static

ember-cli add-on for serving out static JSON files as "endpoints" along with the static files served.

Usage

  1. add this project to your package.json (I will publish on npm if there is any demand)

  2. run npm install

  3. ember g api-stub-static whatever

  4. run ember server to get it started

  5. curl -X GET localhost:PORT/whatever

    hello wurld~

Screenshot

百聞は一見にしかず!

Contributing

If you have any feature requests or ideas on how this can be improved, please open an issue right away.