Mirage is a JavaScript library that lets frontend developers mock out backend APIs. Unlike other mocking libraries, Mirage makes it easy to reproduce dynamic scenarios that are typically only possible when using a true production server. Equipped with a Mirage server, a frontend developer can build, test, and even share a complete working Ember application without having to use or configure any backend services. Mirage was originally built to bring conventions to some home-grown HTTP mocking code that was getting unwieldy. It ended up proving most useful when it enabled frontend developers to work on their apps without having to rely on any local or staging backend services as part of their normal development workflow. Since then, Mirage has focused on making it as easy as possible for Ember developers to maintain a mock server alongside their codebase. It uses Pretender.js to intercept and respond to any network requests your Ember app makes.

Features

  • Mirage runs in the browser
  • You can develop and test your app against various server states without having to modify any application code
  • Mirage provides a mock database and helper functions that make it easy to simulate dynamic backend services
  • Mirage borrows concepts from server-side frameworks
  • Database and models for storing data and defining relationships
  • Factories and fixtures for stubbing data

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Ember CLI Mirage

Ember CLI Mirage Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ember CLI Mirage!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2022-10-13