Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/SilentCicero/react-dapp-boilerplate

A highly standardized and optimized react dApp boilerplate.
https://github.com/SilentCicero/react-dapp-boilerplate

Last synced: about 2 months ago
JSON representation

A highly standardized and optimized react dApp boilerplate.

Awesome Lists containing this project

README

        

react boilerplate banner


Start your next react Ethereum project in seconds

A highly scalable, offline-first dApp foundation with the best DX and a focus on performance and best practices

## Under Development
This boilerplate is not finished yet. Please use it to see the current configurations. I will have more UI/deployment configuration coming soon.

## Features


Quick scaffolding

Create components, containers, routes, selectors and sagas - and their tests - right from the CLI!

Instant feedback

Enjoy the best DX (Developer eXperience) and code your app at the speed of thought! Your saved changes to the CSS and JS are reflected instantaneously without refreshing the page. Preserve application state even when you update something in the underlying code!

Predictable state management

Unidirectional data flow allows for change logging and time travel debugging.

Next generation JavaScript

Use template strings, object destructuring, arrow functions, JSX syntax and more, today.

Next generation CSS

Write composable CSS that's co-located with your components for complete modularity. Unique generated class names keep the specificity low while eliminating style clashes. Ship only the styles that are on the page for the best performance.

Industry-standard routing

It's natural to want to add pages (e.g. `/about`) to your application, and routing makes this possible.

Industry-standard i18n internationalization support

Scalable apps need to support multiple languages, easily add and support multiple languages with `react-intl`.

Offline-first

The next frontier in performant web apps: availability without a network connection from the instant your users load the app.

SEO

We support SEO (document head tags management) for search engines that support indexing of JavaScript content. (eg. Google)

Web3

We use the web3.js object to provide Ethereum standard dApp support.

But wait... there's more!

- *The best test setup:* Automatically guarantee code quality and non-breaking
changes. (Seen a react app with 99% test coverage before?)
- *Native web app:* Your app's new home? The home screen of your users' phones.
- *The fastest fonts:* Say goodbye to vacant text.
- *Stay fast*: Profile your app's performance from the comfort of your command
line!
- *Catch problems:* AppVeyor and TravisCI setups included by default, so your
tests get run automatically on Windows and Unix.
- *Ethereum integration:* Dapple, Chaithereum, Solium and other systems are fully integrated for contractual support and linting.

There’s also a fantastic video on how to structure your React.js apps with scalability in mind. It provides rationale for the majority of boilerplate's design decisions.

Keywords: React.js, Redux, Hot Reloading, ESNext, Babel, PostCSS, Autoprefixer, react-router, Offline First, ServiceWorker, CSS Modules, redux-saga, FontFaceObserver, PageSpeed Insights

## Quick start

1. Clone this repo using `git clone --depth=1 https://github.com/mxstbr/react-boilerplate.git`
1. Run `npm run setup` to install dependencies and clean the git repo.

*At this point you can run `npm start` to see the example app at `http://localhost:3000`.*
1. Run `npm run clean` to delete the example app.

Now you're ready to rumble!

> Please note that this boilerplate is **not meant for beginners**! If you're just starting out with react or redux, please refer to https://github.com/petehunt/react-howto instead.

## Documentation

- [Intro](docs/general): What's included and why
- [**Commands**](docs/general/commands.md): Getting the most out of this boilerplate
- [Testing](docs/testing): How to work with the built-in test harness
- [Styling](docs/css): How to work with the CSS tooling
- [Your app](docs/js): Supercharging your app with Routing, Redux, simple
asynchronicity helpers, etc.

## Supporters

This project would not be possible without the support by these amazing folks. [**Become a sponsor**](https://opencollective.com/react-boilerplate) to get your company in front of thousands of engaged react developers and help us out!



React.js Program – A linear approach to learning the React.js ecosystem!

----










----










## License

This project is licensed under the MIT license, Copyright (c) 2016 Nick Dodson. For more information see `LICENSE.md`.