https://github.com/iamkevingreen/electron-react-auth0
Electron starter with React - Auth0 - HMR
https://github.com/iamkevingreen/electron-react-auth0
electron react starter-kit tutorial
Last synced: 6 months ago
JSON representation
Electron starter with React - Auth0 - HMR
- Host: GitHub
- URL: https://github.com/iamkevingreen/electron-react-auth0
- Owner: iamkevingreen
- License: mit
- Created: 2017-01-26T21:49:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-12T19:31:12.000Z (almost 9 years ago)
- Last Synced: 2025-06-06T14:41:21.669Z (8 months ago)
- Topics: electron, react, starter-kit, tutorial
- Language: JavaScript
- Homepage:
- Size: 467 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Electron React Auth0
---------
This repo has an in-depth [tutorial on Medium](https://labs.redantler.com/building-an-electron-app-with-react-auth0-hmr-sass-a5dfed260763#.km3pyv990) that will explain main of the conventions and how it all works.
If you want to just dive that works as well.
`npm install`
### Setup Guide
Duplicate the `config-default.js` to `config.js` and populate your Auth0 credentials. If you are using Google Auth I recommend following the tutorial up top because it has some Electron/React specific implications.
Build the project once with:
`npm run build`
Then run:
`npm run watch` - runs webpack/react
In another terminal window run:
`npm run start` - runs electron
If you have issues or questions please use the issues tracker.
Build your project with:
`npm run package`
### Additional Reading & References
* [Romanschejbal Electron-Blog](https://github.com/romanschejbal/electron-blog)
* [Auth0 React Guide](https://auth0.com/docs/quickstart/spa/react/01-login)
* [Auth0 Electron Quickstart](https://auth0.com/docs/quickstart/native/electron)
### MIT License - Please contribute! :)