https://github.com/uzyn/solidity-react-boilerplate
SDK for Ethereum's Solidity, React and Webpack. (WIP)
https://github.com/uzyn/solidity-react-boilerplate
Last synced: 7 months ago
JSON representation
SDK for Ethereum's Solidity, React and Webpack. (WIP)
- Host: GitHub
- URL: https://github.com/uzyn/solidity-react-boilerplate
- Owner: uzyn
- License: mit
- Created: 2016-04-23T16:40:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-23T16:43:56.000Z (over 10 years ago)
- Last Synced: 2025-02-15T04:44:11.887Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# solidity-react-boilerplate
**DO NOT USE. THIS IS STILL WORK IN PROGRESS.**
Boilerplate for Ethereum's Solidity, React and Webpack following [Airbnb's JavaScript (ES6) Style Guide](https://github.com/airbnb/javascript).
## What is this
- Simple `index.html` loading `bundle.js`.
- Starter `index.jsx` for React.
- All code following Airbnb's JavaScript (ES6) style guide with ESlint.
- Webpack dev server with automatic reloading. Start with: `npm start`.
- Deployment build with `npm run build`.
## Components
- [Babel](https://babeljs.io) for ES6 support
- [ESlint](http://eslint.org) for ES6 linting using Airbnb's JS style guide
- [Webpack](https://webpack.github.io) for bundling of JavaScript modules
- [React](https://facebook.github.io/react/) as front-end view library.
## How to use
1. `git clone` the repository or [download a zipped package](https://github.com/uzyn/react-webpack-airbnbjs-boilerplate/archive/master.zip).
2. Install dependencies
```bash
npm install
```
3. Start the dev server, code and enjoy! Browser should automatically refresh if you make any changes to the code.
```bash
npm start
```
Load [http://localhost:8080/](http://localhost:8080/) on your web browser.
4. For deployment, run `npm build` and upload `build/` to your server.
## Credits
This boilerplate is inspired by [jkup/webpack-react-starter](https://github.com/jkup/webpack-react-starter).
## License
MIT · [U-Zyn Chua](http://uzyn.com)