Skip to content

A react + redux + express + sass ready to go bootsrapper

License

Notifications You must be signed in to change notification settings

InitialCrow/rrStarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rrStarter v3.1

Hi you can use this litle script for init bootstrap your redux-react project watchout, this is not a framework but a 'classic base of redux project' with this script you can choose to init your project from scratch or if you use ES6 with babel, react, redux, express with nodejs, you will init all your project and install dependencies you have a webpack-config with this.


node version

  • rrstarter work with latest node version you can run with old version but you should fix dependencies issues after rrstarter is currently maintened to use always last dependencies to get always best building performance.

  • if you use old version of node just try to restore old dependencies version in package.json


HOW TO USE

Just run sh install.shin your teminal after script ask you if you want to choose install with framework or from scratch

  • After dependencies was installed add this lines to package.json object (you can add other script if you need)

    "scripts": { "start": "npm-run-all --parallel watch:server watch:build", "watch:build": "webpack --config ./webpack.dev.js --watch", "watch:server": "nodemon \"./dist/server.js\" --watch \"./dist\"", "build:dev": "webpack --config ./webpack.dev.js", "build:prod": "webpack --config ./webpack.prod.js", "build:sw": "webpack --config ./webpack.sw.js", "clear:dist": "rm -r ./dist", "clear:upload": "rm -r ./uploads", "clear": "rm -rf ./dist rm -rf ./uploads rm -rf ./node_modules" }

now you are ready to dev with nodejs react and redux fast no ?

  • Just run npm run start this will create a dist folder with webpack and nodemon watching

or

  • you can run npm run build:prod to create production build in dist after you just need to upload dist folder on production service you can set your env variable in .env file

v3.1 features

v3.1 add some optimisations first its not use gulp anymore, v3.1 reduce build time from ~0.1ms to ~0.02ms and reduce also install time installing is more compatible with windows ("emulate linux shell") and v3.1 now is ready to start with minimal configuration reducer ready react ready express server ready v3.1 add progressive wep app support with work box before build with service worker you need to install your own

note : rrStarter work always with with last version of webpack, react, redux, express

License

this project is on MIT license mention and follow is apreciate

About

A react + redux + express + sass ready to go bootsrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published