Boilerplate for our React applications
Switch branches/tags
Clone or download
Latest commit 1ad04ae Mar 16, 2018

React Boilerplate

Build Status Test Coverage Code Climate License

A Digia project.

Why do I want this?

As you probably know, there are numerous boilerplates available for React, so you might be wondering why you would want to use ours. Most of the boilerplate projects come with a lot of code that you rarely need. Our boilerplate was bootstrapped with Create React App and provides you with a great starting point for any React project with as few lines of code as possible, especially if you want to use Flowtype.

What do I need to get started?

What's in the box?

How do I use this?

You can find our documentation here.


Create project

Install create-project and create your project.

yarn global add create-project
create-project my-project digiaonline/react-boilerplate && cd my-project

Install dependencies

Install the project dependencies using Yarn.


Create the environment

Create your environment by copying the example environment.

cp .env.example .env

Development server

You can start the development server with the start script.

yarn start

Distribution build

You can compile the distribution build with the build script.

yarn build


Test suite

You can run the test suite with the test script.

yarn test