I was wondering how I could start a database in the background with nix-shell for my program to interact with it
The idea is that I don’t have to always run it in the background but instead only when I’m developing on my project; and to really make my developer environment 100% pure.
What I have so far (all ideas) is that I start e.g. mongod in my shellHook but I cannot think of a way to stop it when I exit my shell.
Would my idea even work? Anything else that could pose problems?
Any thoughts and help would be appreciated