Skip to content

MacKentoch/react-redux-nextjs-bootstrap-starter

Repository files navigation

license

Next JS + React + Redux + Redux persist + redux-devtools-extension + Bootstrap starter

A NextJS starter with redux and bootstrap

preview

See it in action deployed with now

Detailed Content

Front:

  • Next js (4.x+ github 🔗)
  • React JS (16.x+ - github 🔗)
  • redux (as your application grows managing state will be a serious concern, save pain with Redux)
  • redux-persist (simplifies your NextJS state share between pages github 🔗)
  • localforage (for better performances than localStorage)
  • react-redux (Redux is not specific to ReactJS, you could easily use it with Angular2 for instance)
  • redux-thunk (simple and does the job)
  • next-redux-wrapper
  • redux-devtools-extension (github 🔗)
  • react-bootstrap (github 🔗)
  • axios (github 🔗 Why: simple, complete, isomorphic ...)

Tool chain:

Usage

IMPORTANT: Next JS when redux connected

Install

npm install

Scripts

run dev with hot reload

Clone this repository, then install dependencies:

npm run start
build dev bundle
npm run build
start dev (no hot reload)

NOTE: ensure you built first before starting

npm run start

LICENSE

The MIT License (MIT)

Copyright (c) 2017 Erwan DATIN

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.