All Projects → yingray → Create React Redux App

yingray / Create React Redux App

Licence: mit
This project was bootstrapped with Create React App and Redux, Sass Structure.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Create React Redux App

Simple Universal React Redux
The simplest possible Async Universal React & Redux Boilerplate app, that works on both Mac and Windows
Stars: ✭ 58 (+26.09%)
Mutual labels:  async, sass, react-router
Redux Webpack Es6 Boilerplate
A starter project for modern React apps with Redux
Stars: ✭ 566 (+1130.43%)
Mutual labels:  starter-kit, sass, react-router
Base
A starting point for Meteor apps.
Stars: ✭ 654 (+1321.74%)
Mutual labels:  starter-kit, react-router
Swiftcoroutine
Swift coroutines for iOS, macOS and Linux.
Stars: ✭ 690 (+1400%)
Mutual labels:  async, async-await
Steroidesign
Themes based on the biggest StartUps (buttons, color palette, components, etc.) ready to use in your own projects.
Stars: ✭ 786 (+1608.7%)
Mutual labels:  starter-kit, sass
Preact Cli Plugin Async
Preact CLI plugin that adds converts async/await to Promises.
Stars: ✭ 44 (-4.35%)
Mutual labels:  async, async-await
Web
⚡️ Supercharged version of Create React App with all the bells and whistles.
Stars: ✭ 594 (+1191.3%)
Mutual labels:  demo, react-router
Primitive
⛏️ ‎ A front-end design toolkit for developing web apps.
Stars: ✭ 783 (+1602.17%)
Mutual labels:  starter-kit, sass
Webpack Starter Basic
A simple webpack starter project for your basic modern web development needs.
Stars: ✭ 552 (+1100%)
Mutual labels:  starter-kit, sass
Patternfly React Demo App
DEPRECATED: This project is no longer active. See https://github.com/patternfly/patternfly-react-seed for PF4 demos.
Stars: ✭ 26 (-43.48%)
Mutual labels:  sass, react-router
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-43.48%)
Mutual labels:  starter-kit, sass
Create Request
Apply interceptors to `fetch` and create a custom request function.
Stars: ✭ 34 (-26.09%)
Mutual labels:  async, fetch
React Mobx React Router4 Boilerplate
React, React-Router 4, MobX and Webpack 2-boilerplate with async routes.
Stars: ✭ 566 (+1130.43%)
Mutual labels:  async, react-router
P Map
Map over promises concurrently
Stars: ✭ 639 (+1289.13%)
Mutual labels:  async, async-await
Chillout
Reduce CPU usage by non-blocking async loop and psychologically speed up in JavaScript
Stars: ✭ 565 (+1128.26%)
Mutual labels:  async, async-await
Snippetstore
🎉 A snippet management app for developers 🚀
Stars: ✭ 762 (+1556.52%)
Mutual labels:  sass, react-router
React Redux Antdesign Webpack Starter
react + redux + ant design + react-router 4 + webpack 4 starter
Stars: ✭ 44 (-4.35%)
Mutual labels:  sass, react-router
Favesound Mobx
🎶 A SoundCloud Client in React + MobX running in production. Live Demo and Source Code to explore React + MobX. Refactored from favesound-redux
Stars: ✭ 532 (+1056.52%)
Mutual labels:  demo, react-router
Posterus
Composable async primitives with cancelation, control over scheduling, and coroutines. Superior replacement for JS Promises.
Stars: ✭ 536 (+1065.22%)
Mutual labels:  async, async-await
Then
🎬 Tame async code with battle-tested promises
Stars: ✭ 908 (+1873.91%)
Mutual labels:  async, async-await

Create React Redux App

Build Status Coverage Status

This project was bootstrapped with Create React App and Redux, Sass Structure.

Demo: https://yingray.github.io/create-react-redux-app

Todo List

  • react + redux sample practice

demo

fetch API

  • Handle async event

  • async/await + api-book sample practice

demo-api

Getting Started

Dependencies

  • React

    • react
    • react-dom
  • Create React App

    • react-scripts
  • Redux

    • redux
    • react-redux
    • react-router
    • react-router-redux
    • redux-thunk
  • Sass

    • node-sass-chokidar
  • Fetch

    • api-book
    • babel-polyfill
  • Github Deployment Tool

    • gh-pages

Installation

To create a new react-redux-sass app, run:

git clone https://github.com/yingray/create-react-redux-app.git ~/create-react-redux-app
cd ~/create-react-redux-app
# yarn or npm install
yarn

It will create a directory called create-react-redux-app inside the current folder. Inside that directory, it will generate the initial project structure and install the transitive dependencies:

create-react-redux-app/
  src/
    actions/
      todoActions.js
      weatherActions.js
    components/
      App.js
      Header.js
      Link.js
      Navigation.js
      Todo.js
      TodoFooter.js
      TodoList.js
    constants/
      ActionTypes.js
    containers/
      AddTodo.js
      FilterLink.js
      VisibleTodoList.js
      Weather.js
    images/
      logo.svg
    pages/
      Home.js
      Todo.js
      Weather.js
    reducers/
      todos.js
      visibilityFilter.js
      weatherReducer.js
    services/
      weatherApi.js
    styles/
      base/
      components/
      config/
      layout/
      pages/
      utils/
      vendors/
      main.scss
    index.js
    registerServiceWorker.js
    routes.js
    store.js
  --
  tests/
    components/
      App.spec.js
    reducers/
      weatherReducer.spec.js
  --
  public/
    favicon.ico
    index.html
  --
  node_modules/
  .editorconfig
  package.json
  README.md

Runs the app in development mode

npm start

Open http://localhost:3000 to view it in the browser.

Runs the test watcher in an interactive mode

npm test

By default, runs tests related to files changes since the last commit.

Builds the app for production to the build folder:

npm run build

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!

Reference: https://github.com/facebookincubator/create-react-app

Deploys the production to github.io page

Changes package.json

"homepage": "http://{account_name}.github.io/{project_name}",
"scripts": {
  "predeploy": "npm run build"
}

And runs

npm run deploy

MIT License

Copyright (c) 2016 Ying-Ray Lu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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].