https://github.com/acao/electron-react-loopback-example
Example showing the isomorphic client for loopback inside an electron app using react & babel.
https://github.com/acao/electron-react-loopback-example
Last synced: about 2 months ago
JSON representation
Example showing the isomorphic client for loopback inside an electron app using react & babel.
- Host: GitHub
- URL: https://github.com/acao/electron-react-loopback-example
- Owner: acao
- Created: 2015-08-17T23:10:10.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-17T23:18:56.000Z (almost 10 years ago)
- Last Synced: 2024-04-15T09:21:05.643Z (about 1 year ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 5
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# electron-react-loopback-example
Example showing the isomorphic client for loopback inside an electron app using react & babel.## Uses:
Electron JSX Babel Boilerplate as a simple electron starting point:
https://github.com/Quramy/electron-jsx-babel-boilerplateThe server/ app is generated by the ``slc loopback`` generator.
- Browserifies the loopback client service in the electron client, while avoiding the babel compiler, using some simple gulp craftiness.
- Also I think the npm file: dependency helps for electron (see client/package.json) but I'm not sure yet.## To run it:
You will need to run two shells (I will simplify this shortly)
1. in client/, ``npm install`` and then run ``gulp watch`` to run it.
2. in server/, ``npm install`` and then the usual ``node .`` to run that.## TODO:
- [ ] Improve isomorphic client loading (instead of loading in html, use es6 possibly)
- [ ] Re-enable gulp watch/electron-connect happiness
- [ ] Figure out **exactly** what is needed to run the ismorphic client (there could be a lot of loose ends here)
- [ ] Finish repo griddle example
- [ ] Do a redux or flux example to implement the todo app.
- [ ] Build schema for indexing