Mock Your APIs in Less Than 2 Minutes with Effortless Setup and Seamless Integration
mockforme is fully compatible with all major frontend frameworks and libraries. Whether you're using React, Angular, Vue, or even vanilla JavaScript, the integration process is fast and simple.
mockforme Integrates Seamlessly with Popular Frameworks and Libraries
Supported frameworks and libraries include: AngularJs React VueJs Svelte EmberJs BackboneJs jQuery Preact LitElement SolidJs Vanilla Javascript and many more.
How to Install mockforme
Install mockforme using Yarn:
yarn add mockforme -D
Install mockforme using NPM:
npm install mockforme --save-dev
Import and Initialize mockforme
Using ES Module / Modern JavaScript:
import { mockforme } from 'mockforme';
mockforme('ACCESS_TOKEN').run()
Using Plain JavaScript
Include the following script:
<script src="https://cdn.jsdelivr.net/npm/mockforme@4.0.0/dist/mockforme.client.umd.js"></script>
<script>
mockforme('ACCESS_TOKEN').run()
</script>
You can obtain your ACCESS_TOKEN from the mockforme Dashboard.
Additional resources for integration:
AngularJs:How to Integrate mockforme with Angular