Skip to content

Commit ebf8e5a

Browse files
committed
hardcoded pattys mongodb for easy access during dev
1 parent 6823eff commit ebf8e5a

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

app/context/CommsContext.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const CommsContextProvider: React.FC = ({ children }) => {
2828
ipcRenderer.on('commsResponse', (event: Electron.Event, data: any) => {
2929
// Store resulting data in local state
3030
const result = JSON.parse(data);
31+
console.log('===>',result);
3132
console.log('Number of data points (comms):', result.length);
3233
setCommsData(result);
3334
});

app/context/TracesContext.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import React, { useState } from 'react';
2+
import Electron from 'electron';
3+
4+
const { ipcRenderer } = window.require('electron');
5+
6+
export const CommsContext = React.createContext<any>(null);

electron/user/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
"mongodb+srv://tdwolf6:password16@cluster0-0xvd7.gcp.mongodb.net/Chronos?retryWrites=true&w=majority",
2222
"Web app deployed on AWS",
2323
"Jul 3, 2020 7:12AM"
24+
],
25+
[
26+
"pattyDB",
27+
"MongoDB",
28+
"mongodb+srv://chronos:chronos@cluster0.tpeie.mongodb.net/chronos?retryWrites=true&w=majority",
29+
"dummy microservice: books/customer/orders/reverse-proxy",
30+
"Jul 3, 2020 11:12AM"
2431
]
2532
],
2633
"splash": true

0 commit comments

Comments
 (0)