env variables through different file and optimizing error handling with middleware

This commit is contained in:
Arjun Patel
2019-01-13 22:38:44 -08:00
parent 43bf237942
commit 23f40dc73b
13 changed files with 111 additions and 119 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ const express = require('express'),
const donors = require('../controllers/donors.controller.js');
// Create a new Donor
// Signup route
router.post('/', donors.create);
// Retrieve all Donors