Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heldrida/reactatouille-boilerplate
A React Redux Webpack Gulp Sass Jest Enzyme Boilerplate
https://github.com/heldrida/reactatouille-boilerplate
boilerplate enzyme expressjs gsap gulp jest react-router-4 reactjs sass webpack2
Last synced: about 1 month ago
JSON representation
A React Redux Webpack Gulp Sass Jest Enzyme Boilerplate
- Host: GitHub
- URL: https://github.com/heldrida/reactatouille-boilerplate
- Owner: heldrida
- License: wtfpl
- Created: 2017-01-23T10:22:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-10T01:23:55.000Z (about 7 years ago)
- Last Synced: 2024-10-04T07:59:09.924Z (about 2 months ago)
- Topics: boilerplate, enzyme, expressjs, gsap, gulp, jest, react-router-4, reactjs, sass, webpack2
- Language: JavaScript
- Homepage:
- Size: 2.12 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/heldrida/reactatouille-boilerplate.svg?branch=master)](https://travis-ci.org/heldrida/reactatouille-boilerplate)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](http://standardjs.com/)
Reactatouille is a command-line tool to help quickly start and build a new React project,using Redux, Webpack, Gulp (You can add your own tasks, yo!), HMR/Hot Module Reload, Sass (architecture best practices), Jest, Enzyme, gsap and the Express server
.### Pre-requisities
```
Nodejs & NPM
```## Getting Started
These instructions will get you a copy of the command line tool, that you'll be able to use to generate or quick start a new project boilerplate. To do so please run the command below, that will install `reactatouille` has a global:
```
npm install -g reactatouille
```## Quick look
## Usage
The following command will generate a new boilerplate for you in your desired location:
```
reactatouille [project name]
```It'll generate the `project_name` directory for you, with all the Boilerplate template files, where you'll also find a README file containing further instructions to: run the development server, build for staging or production, test, etc.
To generate a new Component, make sure you are in the Project root, src or js directory, then run the command:
```
reactatouille -c
```or, more verbose
```
reactatouille --create-component
```A new component is generated in the [projectRoot]/src/js/. This is work in progress, so you still have to make modifications, such as, include the reducer for this component (if required) in [projectRoot]/src/js/rootReducer.js and also change the name in the /constants.js, etc.
## Organizing the Redux application
The first time you browse the javascript source directory you may find the way files are organized unusual. The approach Reactatouille exposes is based on an article published by Jack Hsu; A very good read, that explains how to better organize code in the context of a React and Redux application but not exclusively ( https://jaysoo.ca/2016/02/28/organizing-redux-application/ ). While opinionated, you may want to organize it differently, as it was in previous versions of Reactatouille.
## Built With
* ReactJS
* React Router 4
* Webpack 2
* SASS
* ES2015
* GULP
* JEST
* ENZYME
* POPMOTION
* STANDARDJS
* UNIVERSAL / ISOMORPHIC
* REDUX DEVTOOLS (Browser extension support)
* SERVICEWORKER / APPCACHE### Logo