Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/michalzalecki/react-boilerplate-lite

Minimal boilerplate for React apps
https://github.com/michalzalecki/react-boilerplate-lite

Last synced: 3 months ago
JSON representation

Minimal boilerplate for React apps

Awesome Lists containing this project

README

        

# React Boilerplate Lite

![CI](https://github.com/MichalZalecki/react-boilerplate-lite/workflows/CI/badge.svg)

💙 Using **TypeScript**? Checkout the [typescript](https://github.com/MichalZalecki/react-boilerplate-lite/tree/typescript) branch! 💙

**Read more:** [What's the best React boilderplate and why you cannot clone it from GitHub?](https://michalzalecki.com/the-best-react-boilerplate/)

React Boilerlate Lite is a minimal boilerplate for modern React apps build on **webpack** with **hot reloading** support.

## Deploy

### Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

### Docker

docker build -t react-boilerlate-lite .
docker run --rm -it -p 8080:8080 react-boilerlate-lite

### Docker Compose

docker-compose up

## Installation

```
git clone --depth 1 https://github.com/MichalZalecki/react-boilerplate-lite my-project
cd my-project
cp .env-example .env
yarn install
```

## Usage

```
yarn start # start production server
yarn dev # start development server
yarn build # production build
yarn lint # run ESLint
yarn format # run prettier
yarn test # run Jest
```