Skip to content

This kit will help you boost up project setting and increase efficiency ๐Ÿš€

License

Notifications You must be signed in to change notification settings

sanzhardanybayev/react-redux-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

react-redux-kit

Welcome to the React-Redux Starter kit! This kit will help you boost up project setting and increase efficiency ๐Ÿš€

Get Started

  1. Install Node 8. Need to run multiple versions of Node? Use nvm or nvm-windows
  2. Clone this repository. - https://github.com/sanzhardanybayev/react-redux-kit or download the zip
  3. Make sure you're in the directory you just created. - cd react-redux-kit
  4. Install Node Packages. - npm install
  5. Install Babel. - npm install i -g babel-cli
  6. Run the app. - npm start -s This will run the automated build process, start up a webserver, and open the application in your default browser. When doing development with this kit, this command will continue watching all your files. Every time you hit save the code is rebuilt, linting runs, and tests run automatically. Note: The -s flag is optional. It enables silent mode which suppresses unnecessary messages during the build.
  7. Disable safe write to assure hot reloading works properly.
  8. Install React developer tools and Redux Dev Tools in Chrome.
  9. Having issues? See below.

Having Issues? Try these things first:

  1. Run npm install - If you forget to do this, you'll see this: babel-node: command not found.
  2. Make sure the path doesn't include any spaces, or install the latest version of eslint-watch which adds support for paths containing spaces: npm install eslint-watch@2.1.13
  3. Make sure you're running the latest version of Node. Or, use Node 8.9.4 if you're having issues on Windows. Node 6 has issues on some Windows machines.
  4. Make sure files with names that begin with a dot (.babelrc, .editorconfig, .eslintrc) are copied to the project directory root. This is easy to overlook if you copy this repository manually.
  5. Don't run the project from a symbolic link. It will cause issues with file watches.
  6. Use path.resolve on all path references in both the dev and prod webpack.config.
  7. Delete any .eslintrc in your user directory and disable any ESLint plugin / custom rules within your editor since these will conflict with the ESLint rules defined in the course.
  8. Nothing above work? Delete your node_modules folder and re-run npm install.

Dependencies

  • body-parser: Node.js body parsing middleware
  • cheerio: Tiny, fast, and elegant implementation of core jQuery designed specifically for the server
  • clean-webpack-plugin: A webpack plugin to remove your build folder(s) before building
  • colors: get colors in your node.js console
  • compression: Node.js compression middleware
  • express: Fast, unopinionated, minimalist web framework
  • fs-extra: fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
  • html-webpack-plugin: Simplifies creation of HTML files to serve your webpack bundles
  • nodemailer: Easy as cake e-mail sending from your Node.js applications
  • normalize.css: A modern alternative to CSS resets
  • open: open a file or url in the user's preferred application
  • prop-types: Runtime type checking for React props and similar objects.
  • pug: A clean, whitespace-sensitive template language for writing HTML
  • react: React is a JavaScript library for building user interfaces.
  • react-dom: React package for working with the DOM.
  • react-redux: Official React bindings for Redux
  • redux: Predictable state container for JavaScript apps
  • webpack: Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
  • webpack-merge: Variant of merge that's useful for webpack configuration

Dev Dependencies

About

This kit will help you boost up project setting and increase efficiency ๐Ÿš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published