Wednesday 14 December 2016

New to NodeJS. Wondering how y'all set up and pre-populate databases?

I recently made a website in NodeJS, Express, and Mongoose (MongoDB). My work around for setting up my database was to make a request that could only run if my user was logged in and it'd insert required records into the database. Wondering how other people set up and pre-populate a database? Is there a way to do it via the console?

Submitted December 14, 2016 at 05:39PM by DTheDeveloper

No comments:

Post a Comment