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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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