Parse server loses data when shutdown

Every time I start parse-server (with npm start) it starts from scratch, I’ve been looking online for a solution but oddly nothing comes up, which leads me to thing I am doing something wrong.

I used the following to install it
sh <(curl -fsSL https://raw.githubusercontent.com/parse-community/parse-server/master/bootstrap.sh)
npm install -g mongodb-runner

and I run this to start it
mongodb-runner start
npm start

Would appreciate some help, thanks in advance

mongodb-runner is for testing and non-persistent. Setup connection with MongoDB atlas for a quick test and will persist changes.

I just installed mongo using brew, but parse isn’t willing to connect, do I have do to something else?

EDIT: nevermind that. I was able to get it to work.
for any one looking to install mongo, this is a great resource
https://zellwk.com/blog/local-mongodb/