A basic start pack for a general React app. Utilizes Webpack, React, Redux, and Express.
- Clone it down
This starter pack requires NodeJS to run. Follow the instructions bellow to get started:
Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
You'll be using this to install any major tech such as Node or Postgres.
Install node via Homebrew
brew install node
This will add node and npm. Neat~
DEFAULT PORT IS 1337
A step by step series of examples that tell you how to get a development env running
After forking and cloning to your local computer:
- Install dependencies with
npm install - Build the bundle with webpack
npm run prod-buildfor productionnpm run dev-buildfor development - Start the server with
npm startfor production ornpm run serverfor development
.
├──client
| ├──actions
| | └──index.js
| ├──actionTypes
| | └──index.js
| ├──components
| | └──App.jsx
| ├──containers
| ├──reducers
| | └──index.js
| ├──store
| | └──index.js
| └──index.jsx
├──database
├──public
| ├──assets
| ├──dist
| ├──index.html
| └──styles.css
├──server
| ├──app.js
| └──server.js
├──.eslintrc.js
├──.gitignore
├──package.json
├──README.md
└──webpack.config.js
- Node - The server language
- Express - The server framework
- React - Dependency Management
- Redux - Global store management
- Webpack - "Module builder"
AIRBNB
- Makan Azarshahy - Initial work
If you would like to contribute please see the Contributing section above