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

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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