How I write back ends
Is there a specific reason you haven&#x27;t replaced the Vagrant stuff with a container-based approach? You can also do stuff like using the lxc backend[0] for Vagrant if that&#x27;s more your speed. While containers aren&#x27;t strictly better, they are certainly lighter weight and quicker to spin up&#x2F;tear down, though performance characteristics and OS settings&#x2F;etc can definitely differ.<p>I&#x27;ve found linux containers to be fantastic for both replicating pieces of the environment and making your e2e tests a little more offical. Running postgres itself (migrating it like you would your real app, inserting data like the app would, then tearing it all down in seconds), apps like mailcatcher[1][2] and actually letting your app send mail (this way you don&#x27;t even need a local&#x2F;log-only implementation), running redis locally, and replicating S3 with a project like minio[3] is very easy and fast.<p>You can take this even further also by building a way to completely spin up your production environment to a certain point in time locally -- though all the resources for the ecosystem of apps may not be on the same VM image (otherwise you could just snapshot and technically go to the point in time), if you can assemble the state and the backups, you can hook them all up to the containers running locally (or in a VM running locally to be fair) and get an approximation of your entire system.<p>Of course, it is somewhat less true-to-production (given that production is you running a VM), but you can remove that barrier with things like linuxkit[4].<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;fgrehm&#x2F;vagrant-lxc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fgrehm&#x2F;vagrant-lxc</a><p>[1]: <a href="https:&#x2F;&#x2F;mailcatcher.me" rel="nofollow">https:&#x2F;&#x2F;mailcatcher.me</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;sj26&#x2F;mailcatcher" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sj26&#x2F;mailcatcher</a><p>[3]: <a href="https:&#x2F;&#x2F;www.minio.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.minio.io&#x2F;</a><p>[4]: <a href="https:&#x2F;&#x2F;github.com&#x2F;linuxkit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;linuxkit</a>