Yet another MERN stack boilerplate
- MongoDB
- NodeJS +
npm
- Go to the
backend
directory of the repository - Make keys.secret.js
- Fill it up with this script
modules.export = {
mongoURI: <mongoURI here, e.g. "mongodb://123.1.2.3:5678">\
databaseName: <name of database that the backend will use here, e.g. "activityLog">
secretOrKey: <key here, e.g. "NoOneWillGuessThisText!">
};
- execute
mongo
- execute
use <name of database>
(databaseName that is written in keys.secret.js) CTRL+C
to exit out of themongo
client