https://gists-app.herokuapp.com/
npm i
- Register a new OAuth application (https://github.com/settings/applications/new)
- Homepage: http://localhost:8080/
- Authorization callback URL: http://localhost:8080/auth
- Configure Gatekeeper: https://github.com/prose/gatekeeper
- Set client_id in webpack's externals (webpack.config.js)
node gatekeeper/server.js
npm start
#Design
Frameworks, Tools:
- ReactJS - Frontend Framework
- MobX - State Management
- Webpack - Module bundler
- Sass - CSS preprocessor
- Gategeeper - (https://github.com/prose/gatekeeper) - Github OAuth helper for Client side
- Jest - Library for JavaScript testing.
- CodeMirror - Text editor
Labels, User's token are stored in LocalStorage.
#Note
Switching status between private and public gist isnt available in github api.