ember-cli-api-stub-static

kimagure
js deprecated
ember-cli-api-stub-static JS library on GitHub ember-cli-api-stub-static JS library on npm Download ember-cli-api-stub-static JS library

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

Version 0.0.1 License MIT
ember-cli-api-stub-static has no homepage
ember-cli-api-stub-static JS library on GitHub
ember-cli-api-stub-static JS library on npm
Download ember-cli-api-stub-static JS library
Keywords
ember-addon

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.