smocker-dev / smocker

Smocker is a simple and efficient HTTP mock server and proxy
https://smocker.dev
MIT License
1.13k stars 59 forks source link

Can we have MongoDB/Postgres to persist Mocks instead of file system #269

Open vlolla opened 1 year ago

gwleclerc commented 1 year ago

As many people are asking to use Smocker not as a testing tool but as a means of simulating missing services in a persistent environment. We plan to use an ORM to support both SQLite and Postgres to store sessions, mocks and histories.

Today we only use it as a volatile testing tool, and we want to keep this philosophy as much as possible.

This also explains a number of our choices, such as