You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/controllers/configController.js
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,6 @@
1
1
/**
2
-
* ************************************
3
-
*
4
2
* @module ConfigController
5
-
* @author Brent Speight, Emma Czech, May Li, Ricardo Cortez
6
-
* @date 08/02/2021
7
3
* @description Contains middleware that updates a user's contact preference, CPU threshold, memory threshold, and container stop preference in database
Copy file name to clipboardExpand all lines: server/controllers/signupController.js
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,6 @@
1
1
/**
2
-
* ************************************
3
-
*
4
2
* @module Signup Controller
5
-
* @author Brent Speight, Emma Czech, May Li, Ricardo Cortez
6
-
* @date 08/02/2021
7
3
* @description Contains middleware that checks if username exists, if password meets requirements upon signup, and if the login form is missing a username or password
Copy file name to clipboardExpand all lines: server/controllers/userController.js
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,7 @@
1
1
/**
2
-
* ************************************
3
-
*
4
2
* @module UserController
5
-
* @author Brent Speight, Emma Czech, May Li, Ricardo Cortez
6
-
* @date 08/02/2021
7
3
* @description Contains middleware that creates new user in database, gets all users from database for system admin, and verifies user exists before sending back user data to login component
Copy file name to clipboardExpand all lines: server/models/cloudModel.js
+1-17Lines changed: 1 addition & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,8 @@
1
-
/**
2
-
* ************************************
3
-
*
4
-
* @module Cloud Database Model
5
-
* @author Brent Speight, Emma Czech, May Li, Ricardo Cortez
6
-
* @date 08/02/2021
7
-
* @description Creates pool to connect application with elephantSQL cloud database that contains persisted user information, exports function used to query database
8
-
*
9
-
* ************************************
10
-
*/
11
-
12
1
const{ Pool }=require('pg');
13
-
14
-
15
2
require('dotenv').config();
16
3
17
-
// Mo need to create any tables, upon start up Docketeer will create those tables in your DB instance automatically.
18
4
constPG_URI=process.env.POSTGRES_URI;
19
-
20
-
// // Connects to database.
21
-
// // Note: no need to create any tables, upon start up Docketeer will create those tables in your DB instance automatically.
5
+
// Note: no need to create any tables, upon start up Docketeer will create those tables in your DB instance automatically.
0 commit comments