All Projects → yuzhva → create-react-redux-app

yuzhva / create-react-redux-app

Licence: MIT License
React boilerplate based on create-react-app

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to create-react-redux-app

isomorphic-react-redux-saga-ssr
Isomorphic, React, Redux, Saga, Server Side rendering, Hot Module Reloading, Ducks, Code Splitting
Stars: ✭ 19 (-61.22%)
Mutual labels:  immutable, eslint, redux-saga, react-router-redux
React Redux Auth0 Kit
Minimal starter boilerplate project with CRA, React, Redux, React Router and Auth0 authentication
Stars: ✭ 115 (+134.69%)
Mutual labels:  eslint, minimal, create-react-app
wx-react-app
使用Create-React-App 和 Ant Design Pro 框架整合,演示地址:
Stars: ✭ 16 (-67.35%)
Mutual labels:  create-react-app, react-router-redux, react-router-dom
crassa
Create React App Server Side Application
Stars: ✭ 16 (-67.35%)
Mutual labels:  redux-saga, create-react-app
marvel-jarvig
Marvel JARVIG (Just A Rather Very Interesting Game) is a game that lets you find and discover Marvel Comics characters based on their name, image and description!
Stars: ✭ 13 (-73.47%)
Mutual labels:  redux-saga, create-react-app
next-react-boilerplate
🔥 NextJS with additional tech feature like react-boilerplate. Demo >>
Stars: ✭ 20 (-59.18%)
Mutual labels:  immutable, redux-saga
coincharts
Cryptocurrency Price Chart (GDAX)
Stars: ✭ 75 (+53.06%)
Mutual labels:  redux-saga, create-react-app
React-Redux-Enterprise
A React-Redux boilerplate for enterprise/large scaled web applications
Stars: ✭ 77 (+57.14%)
Mutual labels:  eslint, react-router-redux
react-redux-starter-kit
Get started with React, Redux, Webpack and eslint
Stars: ✭ 29 (-40.82%)
Mutual labels:  eslint, react-router-redux
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (-38.78%)
Mutual labels:  eslint, react-router-redux
wxapp-boilerplate
微信小程序开发脚手架 (ES6, Redux, Immutable-js, Async/await, Promise, Reselect, Babel, ESLint, Stylelint, Gulp ... )
Stars: ✭ 35 (-28.57%)
Mutual labels:  immutable, eslint
react-enterprise-starter-kit
Highly Scalable Awesome React Starter Kit for an enterprise application with a very easy maintainable codebase. 🔥
Stars: ✭ 55 (+12.24%)
Mutual labels:  eslint, redux-saga
inside-client
Human Resources Department Tool. https://ifactory-solutions.github.io/inside-client/
Stars: ✭ 42 (-14.29%)
Mutual labels:  redux-saga, create-react-app
rapid-react
A light weight interactive CLI Automation Tool 🛠️ for rapid scaffolding of tailored React apps with Create React App under the hood.
Stars: ✭ 73 (+48.98%)
Mutual labels:  redux-saga, react-router-dom
ts-ui
Telar Social Network using Reactjs
Stars: ✭ 35 (-28.57%)
Mutual labels:  redux-saga, create-react-app
media-library
An online media library application with React, Redux and redux-saga
Stars: ✭ 27 (-44.9%)
Mutual labels:  redux-saga, create-react-app
React-Redux-Saga-Advanced-Starter
Boilerplate for Advanced usage with React, Redux, React-Router-Redux, Redux-Saga, Immutable, Reselect, Recompose, Axios, HMR, Babel v7, Jest, Eslint, and more
Stars: ✭ 66 (+34.69%)
Mutual labels:  eslint, redux-saga
react-redux-hackernews
React Redux Hackernews Application
Stars: ✭ 19 (-61.22%)
Mutual labels:  redux-saga, create-react-app
webservices
Prestashop Web Services + React JS App
Stars: ✭ 34 (-30.61%)
Mutual labels:  redux-saga, create-react-app
eslint-config-website
GUI for generating ESLint configs
Stars: ✭ 45 (-8.16%)
Mutual labels:  eslint, create-react-app

Create react redux app

This project was bootstrapped with Create React App.
The project includes extra redux packages and improved file structure.

Table of Contents

Dependencies that was added to the app

  • redux
  • react-redux
  • redux-saga
  • immutable
  • react-router-dom
  • react-router-redux

devDependencies:

  • eslint (based on Airbnb rules)
  • pre-commit

Quick start

1. Clone project

# with SSH
git clone [email protected]:YUzhva/create-react-redux-app.git NEW_PROJECT_NAME

# with HTTPS
git clone https://github.com/YUzhva/create-react-redux-app.git NEW_PROJECT_NAME

2. Go inside project folder cd NEW_PROJECT_NAME and edit project name inside package.json

// change
{
  "name": "create-react-redux-app",  
}

// to the
{
  "name": "NEW_PROJECT_NAME",  
}

3. Delete .git folder

# command for Mac/Linux
rm -rf .git

# command for Windows
rmdir .git

4. Initialize new git

git init
git add .
git commit -m "[initial commit] NEW_PROJECT_NAME"

🍺 Have fun 🍺 (=

Improved folder Structure

- src
  - components // reusable react components without redux
    * ComponentName
      tests
      index.js // entry point for component

  - containers // react components with redux and redux-saga data fetching
    * ContainerName
      tests
      index.js // entry point for container
      constants/actions/reducer/sagas/selectors.js // place container required files in root

  - global-reducer.js // connect other containers reducers here
  - global-sagas.js // connect other containers sagas here

For the project to build, these files must exist with exact filenames:

  • public/index.html is the page template;
  • src/index.js is the JavaScript entry point.

You can delete or rename the other files.

You may create subdirectories inside src. For faster rebuilds, only files inside src are processed by Webpack.
You need to put any JS and CSS files inside src, or Webpack won’t see them.

Only files inside public can be used from public/index.html.
Read instructions below for using assets from JavaScript and HTML.

You can, however, create more top-level directories.
They will not be included in the production build so you can use them for things like documentation.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run lint

Lints your JavaScript.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].