An open API service indexing awesome lists of open source software.

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)

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)