All Projects → MacKentoch → React Redux Graphql Apollo Bootstrap Webpack Starter

MacKentoch / React Redux Graphql Apollo Bootstrap Webpack Starter

react js + redux + graphQL + Apollo + react router + hot reload + devTools + bootstrap + webpack starter

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Redux Graphql Apollo Bootstrap Webpack Starter

Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+1343.31%)
Mutual labels:  graphql, apollo, apollo-client, webpack, postcss
Kit
ReactQL starter kit (use the CLI)
Stars: ✭ 232 (+82.68%)
Mutual labels:  graphql, apollo, apollo-client, webpack, postcss
React Dashboard
🔥React Dashboard - isomorphic admin dashboard template (React.js, Bootstrap, Node.js, GraphQL, React Router, Babel, Webpack, Browsersync) 🔥
Stars: ✭ 1,268 (+898.43%)
Mutual labels:  graphql, webpack, bootstrap, react-router, react-router-v4
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (+11.02%)
Mutual labels:  graphql, webpack, boilerplate, react-router
Scalable React Typescript Boilerplate
⭐️ Scalable micro-framework featuring React and TypeScript
Stars: ✭ 174 (+37.01%)
Mutual labels:  graphql, apollo, webpack, boilerplate
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (+14.17%)
Mutual labels:  webpack, boilerplate, bootstrap, react-router
React Redux Bootstrap Webpack Starter
React 16.9 + Typescript + React-Router 4 + Redux + Bootstrap 4 + Hot Reload + redux-devtools-extension + Webpack 4 + styled-components STARTER
Stars: ✭ 133 (+4.72%)
Mutual labels:  webpack, router, bootstrap, react-router-v4
Starter Lapis
Cutting edge starter kit
Stars: ✭ 72 (-43.31%)
Mutual labels:  webpack, boilerplate, react-router, postcss
React Graphql Github Apollo
🚀 A React + Apollo + GraphQL GitHub Client. Your opportunity to learn about these technologies in a real world application.
Stars: ✭ 1,563 (+1130.71%)
Mutual labels:  graphql, apollo, apollo-client, react-router-v4
React Boilerplate
⚛ The stable base upon which we build our React projects at Mirego.
Stars: ✭ 39 (-69.29%)
Mutual labels:  graphql, apollo, apollo-client, react-router
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (+177.95%)
Mutual labels:  webpack, boilerplate, react-router, postcss
React Redux Antdesign Webpack Starter
react + redux + ant design + react-router 4 + webpack 4 starter
Stars: ✭ 44 (-65.35%)
Mutual labels:  webpack, router, react-router, react-router-v4
Awesome Apollo Graphql
A curated list of amazingly awesome things regarding Apollo GraphQL ecosystem 🌟
Stars: ✭ 126 (-0.79%)
Mutual labels:  graphql, apollo, apollo-client, boilerplate
React Cool Starter
😎 🐣 A starter boilerplate for a universal web app with the best development experience and a focus on performance and best practices.
Stars: ✭ 1,083 (+752.76%)
Mutual labels:  webpack, boilerplate, react-router, postcss
React Bootstrap Webpack Starter
ReactJS 16.4 + new React Context API +react Router 4 + webpack 4 + babel 7+ hot Reload + Bootstrap 4 + styled-components
Stars: ✭ 103 (-18.9%)
Mutual labels:  webpack, bootstrap, react-router, react-router-v4
The Ultimate Boilerplate
webpack 2, react hotloader 3, react router v4, code splitting and more
Stars: ✭ 85 (-33.07%)
Mutual labels:  webpack, boilerplate, react-router-v4
Serverless Prisma
AWS Serverless Prisma Boilerplate
Stars: ✭ 126 (-0.79%)
Mutual labels:  graphql, webpack, boilerplate
Meteor Apollo Starter Kit
Meteor, Apollo, React, PWA, Styled-Components boilerplate
Stars: ✭ 91 (-28.35%)
Mutual labels:  graphql, apollo, boilerplate
Preact Redux Isomorphic
preact-redux-isomorphic PWA SPA SSR best practices and libraries in under 80kB page size (for live demo click the link below)
Stars: ✭ 85 (-33.07%)
Mutual labels:  graphql, boilerplate, react-router
React Boilerplate
This project is deprecated. Please use CRA instead.
Stars: ✭ 88 (-30.71%)
Mutual labels:  webpack, boilerplate, postcss

Full ES6+ React + React-Router + Redux + GraphQL + Apollo + Bootstrap with Hot Reload and redux-devtools STARTER

My new React + redux project starter. This time I add graphQL and Apollo Client. This starter also embeds JWT token based authentication (check Route to get an example of dealing with protected routes).

preview

  • webpack is as simple as possible
  • ReactJS is written with optimization tricks (stateless, pure render...).
  • pure front-end = server independant (use whatever you want as server: NodeJS, Rails, .NET...)
  • contains both SPA and SSR server implementation
  • caching implementation with workbox-webpack-plugin (so that it follows PWA path!)
  • redux + devTools + hot reload= how did I developed without them before?
  • graphQL makes API to be " has been "
    • no more struggle in redux with async thank to Apollo Client (you can even get rid of redux thunk or redux saga if you needed theses just for your asyncs. Otherwise keep them since they are nice 😄)
  • redux-devtools-extension to make developments a pure pleasure.

New 🎉 since v3.0.0!

  • Add code splitting by using dynamic import (router level but you can extend to component level as you feel the need)
  • NOTE: combined with SSR server and SW for caching, this is a good start to follow PWA path!
  • Want to know more about code splitting with SSR a React application, read this complete beautiful article (don't forget to clap the author - no I don't even know him 😉 - but this is a really nice job)

Detailed Content

Front:

Tool chain:

  • babel 6+
  • eslint
  • hot reload
  • loaders
    • js / jsx
    • css
    • json
    • images formats
    • svg and fonts formats

tests:

  • jest

Usage

Prerequisite

Node JS version required is >=6.x.

Build with node js v8.x but should be ok with node js 6.x.

Better use nvm to manage your Node JS versions.

server

An Easy and fast way to get your graphql backend is to register for free at Scaphold.

This starter has been created with a scaphold free plan.

Go to Scaphold register and create an application

create_app_modal preview

  • set AppName
  • and a description (so that after creating hundreds of applications you won't get lost).

You will be able to dicover predefined schemas. This starter will not need more than predefined (User):

schema_desiner_overview.png

  • you can define you own schema (not needed for this starter to run). But I suggest you have a look on well written tutorials to get more familiar with the schema designer.

GraphiQL is integrated in Scaphold so discover and train predefined graphQL queries and mutations:

graphiQL_overview.png

Configure starter application:

In Scaphold click on My API and copy your application link.

Then, past it (to replace http://localhost:8080/graphql) in your networkInterface in the app config (in ./src/front/config.index.js):

export const appConfig = {
  // apollo client:
  apollo: {
    networkInterface: 'http://localhost:8080/graphql'
  }
};

from now you got all needed to run this starter

Install dependencies

npm install

run dev : hot reload mode (+ redux-devtools-extension)

npm run start

NOTE: be sure you already installed redux-devtools-extension in your browser to get the best development experience.

bundle dev mode (+ redux-devtools)

npm run dev

tests

npm run test

Analyze production bundle (PWA friendly)

npm run analyze

bundle production mode

npm run prod

run dev bundle

npm run start-spa-dev

run prod bundle

npm run start-spa-prod

Donate

Do you use & like react-redux-graphql-apollo-bootstrap-webpack-starter but you don’t find a way to show some love? If yes, please consider donating to support this project. Otherwise, no worries, regardless of whether there is support or not, I will keep maintaining this project. Still, if you buy me a cup of coffee I would be more than happy though 😄

Support via PayPal

License

The MIT License (MIT)

Copyright (c) 2019 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.

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