Skip to content

Commit b78b72f

Browse files
committed
migration
1 parent 762606c commit b78b72f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+13626
-30
lines changed

README.md

Lines changed: 35 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,45 @@
1-
React 16.8+ React-Router 4 + Redux + Bootstrap + Webpack 4 with Hot Reload and redux-devtools-extension STARTER
2-
==========
1+
# React 16.8+ React-Router 4 + Redux + Bootstrap + Webpack 4 with Hot Reload and redux-devtools-extension STARTER
2+
33
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/MacKentoch/react-redux-bootstrap-webpack-starter)
44
[![Build Status](https://travis-ci.org/MacKentoch/react-redux-bootstrap-webpack-starter.svg?branch=master)](https://travis-ci.org/MacKentoch/react-redux-bootstrap-webpack-starter)
55
[![Coverage Status](https://coveralls.io/repos/github/MacKentoch/react-redux-bootstrap-webpack-starter/badge.svg?branch=master)](https://coveralls.io/github/MacKentoch/react-redux-bootstrap-webpack-starter?branch=master)
66

77
> My best React + redux project starter.
88
9-
- *webpack is as simple as possible*
10-
- *ReactJS is written with `optimization tricks` (stateless, pure render, PureComponent...).*
11-
- *`pure front-end` = server independant (use whatever you want as server: NodeJS, Rails, .NET...)*
9+
- _webpack is as simple as possible_
10+
- _ReactJS is written with `optimization tricks` (stateless, pure render, PureComponent...)._
11+
- _`pure front-end` = server independant (use whatever you want as server: NodeJS, Rails, .NET...)_
1212
- `SPA` but `SEO` and/or `PWA` friendly since use of `dynamic imports` and `application snapshot`.
1313

14-
*Concept behind:* same as [react-bootstrap-webpack-starter](https://github.com/MacKentoch/react-bootstrap-webpack-starter) **but added `Redux` and amazing and helpful [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension#redux-devtools-extension).**
14+
_Concept behind:_ same as [react-bootstrap-webpack-starter](https://github.com/MacKentoch/react-bootstrap-webpack-starter) **but added `Redux` and amazing and helpful [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension#redux-devtools-extension).**
1515

1616
![preview](./preview/preview.png)
1717
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FMacKentoch%2Freact-redux-bootstrap-webpack-starter.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FMacKentoch%2Freact-redux-bootstrap-webpack-starter?ref=badge_shield)
1818

1919
## Detailed Content
2020

2121
**Front:**
22+
23+
- Typescript
2224
- React JS (16.8+ - [github :link:](https://github.com/facebook/react))
23-
- Redux (*as you application grows managing state will be a serious concern, save pain with Redux*)
24-
- React-Redux (*Redux is not specific to ReactJS, you could easily use it with Angular2 for instance*)
25+
- Redux (_as you application grows managing state will be a serious concern, save pain with Redux_)
26+
- React-Redux (_Redux is not specific to ReactJS, you could easily use it with Angular2 for instance_)
2527
- redux-devtools-extension ([github :link:](https://github.com/zalmoxisus/redux-devtools-extension#redux-devtools-extension))
2628
- connected-react-router 4 ([github :link:](https://github.com/supasate/connected-react-router))
2729
- react-router (4.x- [github :link:](https://github.com/reactjs/react-router))
2830
- Bootstrap (4.x - [github :link:](https://github.com/twbs/bootstrap))
2931
- reactstrap ([github :link:](https://github.com/reactstrap/reactstrap))
30-
- loadable-components - work with reactsnap for better static website performance - (*stuck to pre v2.2.3+ breakings changes, waiting for a new solution see [PR](https://github.com/stereobooster/react-snap/pull/338/commits/adf107b4bff212a854a93e2d90f89d369433a807)*)
32+
- loadable-components - work with reactsnap for better static website performance - (_stuck to pre v2.2.3+ breakings changes, waiting for a new solution see [PR](https://github.com/stereobooster/react-snap/pull/338/commits/adf107b4bff212a854a93e2d90f89d369433a807)_)
3133
- font-awesome ([github :link:](https://github.com/FortAwesome/Font-Awesome))
3234
- animate.css ([github :link:](https://github.com/daneden/animate.css))
3335
- classnames ([github :link:](https://github.com/JedWatson/classnames))
3436
- react-motion ([github :link:](https://github.com/chenglou/react-motion))
3537
- Webpack 4.x ([github :link:](https://github.com/webpack/webpack))
36-
- babel 7+ ([github :link:](https://github.com/babel/babel))
37-
- axios ([github :link:](https://github.com/mzabriskie/axios) *Why: simple, complete, isomorphic ...*)
38+
- axios ([github :link:](https://github.com/mzabriskie/axios) _Why: simple, complete, isomorphic ..._)
3839

3940
**Tool chain:**
40-
- babel 7+
41+
42+
- Typescript
4143
- eslint
4244
- webpack 4
4345
- hot reload
@@ -49,6 +51,7 @@ React 16.8+ React-Router 4 + Redux + Bootstrap + Webpack 4 with Hot Reload and r
4951
- svg and fonts formats
5052

5153
**tests:**
54+
5255
- Jest
5356
- enzyme
5457

@@ -61,44 +64,49 @@ React 16.8+ React-Router 4 + Redux + Bootstrap + Webpack 4 with Hot Reload and r
6164
### Install
6265

6366
```bash
64-
yarn install
67+
# from root directory:
68+
cd front && yarn install
6569
```
66-
### bundle dev mode (*+ redux-devtools*)
70+
71+
### bundle dev mode (_+ redux-devtools_)
6772

6873
```bash
69-
yarn run dev
74+
# from root directory:
75+
cd front && yarn run dev
7076
```
7177

72-
### dev : hot reload mode (*+ redux-devtools*)
78+
### dev : hot reload mode (_+ redux-devtools_)
7379

7480
```bash
75-
yarn run start
81+
# from root directory:
82+
cd front && yarn run start
7683
```
7784

7885
### tests
7986

8087
```bash
81-
yarn run test
88+
# from root directory:
89+
cd front && yarn run test
8290
```
8391

8492
### bundle production mode
8593

8694
```bash
87-
yarn run prod
95+
# from root directory:
96+
cd front && yarn run prod
8897
```
8998

90-
### mini node-express server (for dev or prod bundles)
99+
### mini node-express server
91100

92-
with server hot reload:
101+
⚠️Ensure having bundled the application before (result is in `_ROOT_DIR_/docs` directory), then:
93102

94103
```bash
95-
yarn run serve-dev
96-
```
97-
98-
without hot reload:
104+
# from root directory:
99105

100-
```bash
101-
yarn run serve-prod
106+
# install dependencies the first time only:
107+
cd server && yarn install
108+
# run the server:
109+
yarn run run-server # this will serve ROOT/docs content!
102110
```
103111

104112
## Donate
@@ -120,5 +128,4 @@ The above copyright notice and this permission notice shall be included in all c
120128

121129
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.
122130

123-
124131
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FMacKentoch%2Freact-redux-bootstrap-webpack-starter.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FMacKentoch%2Freact-redux-bootstrap-webpack-starter?ref=badge_large)

0 commit comments

Comments
 (0)