An open API service indexing awesome lists of open source software.

https://github.com/nullvoxpopuli/ember-msw-development

Do you want to test your API before the API is implemented? Is your API team slower than your frontend team? Do you need to mock data for devlepment and testing? Try MSW!
https://github.com/nullvoxpopuli/ember-msw-development

Last synced: over 1 year ago
JSON representation

Do you want to test your API before the API is implemented? Is your API team slower than your frontend team? Do you need to mock data for devlepment and testing? Try MSW!

Awesome Lists containing this project

README

          

# ember-msw-development

See the [commit history](https://github.com/NullVoxPopuli/ember-msw-development/commits/main)
for a step-by-step walkthrough of how to setup MSW in an Ember.JS app.

## Prerequisites

You will need the following things properly installed on your computer.

* [Git](https://git-scm.com/)
* [Node.js](https://nodejs.org/) (with npm)
* [Ember CLI](https://ember-cli.com/)
* [Google Chrome](https://google.com/chrome/)

## Installation

* `git clone ` this repository
* `cd ember-msw-development`
* `npm install`

## Running / Development

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).
* Visit your tests at [http://localhost:4200/tests](http://localhost:4200/tests).

### Code Generators

Make use of the many generators for code, try `ember help generate` for more details

### Running Tests

* `ember test`
* `ember test --server`

### Linting

* `npm run lint`
* `npm run lint:fix`

### Building

* `ember build` (development)
* `ember build --environment production` (production)

### Deploying

Specify what it takes to deploy your app.

## Further Reading / Useful Links

* [ember.js](https://emberjs.com/)
* [ember-cli](https://ember-cli.com/)
* Development Browser Extensions
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)