Home

Awesome

:warning: This repo has been archived and is not being maintained. :warning:

Please use the TypeScript version instead: spraygun-react-ts.


spraygun-react

CircleCI

This is a Carbon Five-flavored convenience skeleton project for React. It is based on create-react-app (not ejected) with the following additions:

To get started, make sure you have Node 10+ and Yarn installed, and then generate your project like this:

$ npx spraygun -t react <project-directory>

If you'd like to use spraygun-react with a Rails API backend, follow this guide:

Using spraygun-react with a Rails backend

If you'd like to use spraygun-react with Redux, here are potential file structures:

Redux file structures

Below this line is the README that will accompany your generated project.


<!-- END SPRAYGUN BANNER -->

app-prototype

This is a React 16 app.

Prerequisites

Quick start

Install dependencies:

yarn install

Start the server:

yarn start

This will launch the app at:

http://localhost:3000/

Task reference


Generated by spraygun-react