Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshdsommer/electron-angular-websockets-seed

A sample electron desktop application with a web socket server to receive and push data. built with the Angular CLI
https://github.com/joshdsommer/electron-angular-websockets-seed

angular angular-cli electron express rxjs websocket-server websockets

Last synced: about 1 month ago
JSON representation

A sample electron desktop application with a web socket server to receive and push data. built with the Angular CLI

Awesome Lists containing this project

README

        

# Electron + Angular CLI + WebSockets

This is starter or sample application I setup to test integrating these three technologies together.

### Global Dependencies

Angular CLI - `npm install -g @angular/cli`

Electron - `npm install -g electron`

### Development work flow.

install dependencies with `npm i`
run application with `npm start`

### Testing sockets

I've found Smart Websocket Client for Chrome to be extremely helpful with testing WebSockets you can get it [here](https://chrome.google.com/webstore/detail/smart-websocket-client/omalebghpgejjiaoknljcfmglgbpocdp)

### References
This blog post helped with integrating the Angular CLI and Electron
[http://www.blog.bdauria.com/?p=806](http://www.blog.bdauria.com/?p=806)

this gist was extremely helpful with getting express running in electron [https://gist.github.com/maximilian-ruppert/a446a7ee87838a62099d](https://gist.github.com/maximilian-ruppert/a446a7ee87838a62099d)

this StackOverflow post was helpful with getting a local ip address [https://stackoverflow.com/a/38929214/771630](https://stackoverflow.com/a/38929214/771630)