kenneth-gray / data-mocks-server

Mock HTTP server
2 stars 4 forks source link

Running in a central location without affecting all users #33

Closed kenneth-gray closed 3 years ago

kenneth-gray commented 3 years ago

Background

At the moment it's easy to run the mock-server locally, modify which scenarios you're interested in and then merrily develop your features. However, it would be useful to deploy the mock-server to a central location and let users decide which scenarios should be enabled, without it interfering with anyone else.

Potential solution

Cookie only mode. If you could enable the server to store scenario choices in a cookie rather than in the server directly, then when a request to the mock-server is made it could use the cookie to decide what to do and therefore the results would be tied to that browser rather than centrally for everyone.

kenneth-gray commented 3 years ago

:tada: This issue has been resolved in version 9.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: