GuidesAPI Reference
API Reference

setAppName(appName)

Used to set an application context when you want to run multiple applications on the same address e.g localhost:8080.

Once an application name has been set all related mock data will be associated with your application name.

import Mimic from 'mimic';

Mimic.setAppName('MyApp');