DEV Community

loading...

Embedded Storage for Your Node.js Projects

John Munsch
Rather than a bio, I'll direct you to my AMA: https://dev.to/johnmunsch/i-have-been-a-professional-developer-for-31-years-and-im-53-now-ask-me-anything-5dlf
・1 min read

Sometimes you want to throw together a site quickly and setting up another storage server and connecting to it seems too expensive, too time consuming, or you've used up all your free clusters at MongoDB Atlas 😀.

Everybody needs a quick and dirty storage solution available to pull out for those cases. In this video I build a simple authentication system using NeDB (which looks a lot like MongoDB) and show how I built it by starting with Mocha/Chai unit tests.

In the next video I'll show how almost all of the code I wrote works just as well with MongoDB, giving you a natural growth path for when your side project becomes popular.

Discussion (0)