Initial check in; All but the history pages working.
This commit is contained in:
35
server/main.js
Normal file
35
server/main.js
Normal file
@@ -0,0 +1,35 @@
|
||||
import './CheckEnvironment.js';
|
||||
import './DataCollection.js';
|
||||
import '../imports/api/';
|
||||
import './google-oauth.js';
|
||||
import '/imports/startup/accounts-config.js';
|
||||
import './logging';
|
||||
|
||||
|
||||
|
||||
|
||||
//Some basic testing of detecting which mode the app is running under...
|
||||
//
|
||||
// if(process.env.NODE_ENV === "development") {
|
||||
// console.log("In Dev Mode");
|
||||
// }
|
||||
// else if(process.env.NODE_ENV === "production") {
|
||||
// console.log("In Prod Mode");
|
||||
// }
|
||||
// else {
|
||||
// console.log("No idea what mode we are in!");
|
||||
// }
|
||||
|
||||
|
||||
//TEST LOG OUTPUT...
|
||||
// let obj = {test: 'abc'};
|
||||
// console.log("Test Output");
|
||||
// console.log(obj);
|
||||
//
|
||||
// try {
|
||||
// throw Exception("Error!!");
|
||||
// }
|
||||
// catch(err) {
|
||||
// console.error(err);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user