Added and updated comments throughout entire project

This commit is contained in:
Gregory Campbell
2021-11-25 22:02:18 -05:00
parent 1776e011f2
commit 149a25c251
6 changed files with 58 additions and 28 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
require('dotenv').config({ path: 'development.env' });
require('dotenv').config({ path: 'development.env' }); // Grabs MONGODB URI
const mongoose = require('mongoose');
const mongoose = require('mongoose'); //import mongoose
//Connects to the mongo databse attached to heroku app
mongoose.connect(
process.env.MONGODB_URI,
(err) => {