Skip to content

Commit

Permalink
Merge 98a5243 into e49d71b
Browse files Browse the repository at this point in the history
  • Loading branch information
placideirandora committed Nov 11, 2019
2 parents e49d71b + 98a5243 commit a20184e
Show file tree
Hide file tree
Showing 6 changed files with 274 additions and 13 deletions.
217 changes: 217 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"redux-mock-store": "^1.5.3",
"redux-promise-middleware": "^6.1.1",
"redux-thunk": "^2.3.0",
"sass-loader": "^8.0.0"
"sass-loader": "^8.0.0",
"socket.io-client": "^2.3.0"
},
"devDependencies": {
"coveralls": "^3.0.6",
Expand Down
4 changes: 4 additions & 0 deletions src/app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ import '../../node_modules/font-awesome/css/font-awesome.min.css';

toast.configure();
function App() {
// // const socket = openSocket('https://codinggeeks-ah-backnd-staging.herokuapp.com:5000');
// const socket = openSocket('http://localhost:5000/');
// console.log(socket);
// socket.on('new_articles', data => console.log('new article published!', data));
return (
<div className="App">
<BrowserRouter>
Expand Down
Loading

0 comments on commit a20184e

Please sign in to comment.