A working demo of electron with angular2 using Webpack, ngrx and material2
This is a demo of oauth with github using angular 2 and electron. It uses redux to manage state. You should create a config file as following :
{
"github": {
"client_id": "yourclientID",
"client_secret": "yoursecretkey",
"scopes": [
"user:email",
"notifications"
]
}
}
and place this file inside the "app" folder.Dont use this in production as for production you should have a safe server side URI and not have your secret key in the app folder.
When running it authenticates the user and goes to a page showing the username received from the authentication oauth workflow.
$ npm install
$ npm run build
$ npm run watch
$ npm run electron