Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/googlesamples/appauth-js-electron-sample
This is an Electron Application, which uses the AppAuth-JS library.
https://github.com/googlesamples/appauth-js-electron-sample
Last synced: about 2 months ago
JSON representation
This is an Electron Application, which uses the AppAuth-JS library.
- Host: GitHub
- URL: https://github.com/googlesamples/appauth-js-electron-sample
- Owner: googlesamples
- License: apache-2.0
- Created: 2017-08-04T18:32:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-17T08:21:13.000Z (6 months ago)
- Last Synced: 2024-04-14T19:23:10.631Z (5 months ago)
- Language: TypeScript
- Homepage: https://opensource.google.com/projects/appauth
- Size: 159 KB
- Stars: 111
- Watchers: 12
- Forks: 62
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# AppAuth-JS + Electron
![AppAuth-JS + Electron](https://rawgit.com/googlesamples/appauth-js-electron-sample/master/logo.svg)
This is an Electron Application, which uses the [AppAuth-JS](https://github.com/openid/AppAuth-JS) library.
Please note that this is not an official Google product.
## Development
This application has been written with [TypeScript](https://typescriptlang.org).
### Setup
* Install the latest version of [Node](https://nodejs.org/en/).
[NVM](https://github.com/creationix/nvm)
(Node Version Manager is highly recommended).* Use `nvm install` to install the recommended Node.js version.
* Download the latest version of Visual Studio Code from
[here](https://code.visualstudio.com/).* Install [Yarn](https://yarnpkg.com/en/docs/install) package manager.
### Provision Dependencies
* `yarn install` or `npm install` to provision all the package depencies (from the folder that contains `package.json`).
Thats it! You are now ready to start.
### Development Workflow
This project has a few scripts to help you with your development workflow.
* `yarn run dev` or `npm run-script dev` will run the Electron application. This will also start the Typescript compiler in `watch` mode, and will automatically recompile your application as you start to make changes. Just reload the electron application to see your changes.
* `yarn start` or `npm start` is to start the Electron application (without setting up watches that monitor for changes).