enaqx / flux-boilerplate

Flux boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiny Uncluttered Boilerplate using original Flux
Manual steps for the glory of your new project:
  • Clone this repository $ git clone https://github.com/enaqx/flux-boilerplate
  • Change directory to your new shiny boilerplate $ cd flux-boilerplate
  • Remove git folder $ rm -rf .git
  • Init your git repository $ git init
  • Install Node dependencies $ npm install
  • Build your new shiny project for the first time $ npm run build
  • Check development web-server $ npm start
  • Test if everything is OK to start work $ npm test
  • Proceed to http://localhost:8080/app/
  • Update package.json to match your desires
  • Update README.md text to show the awesomeness of your new cool shiny project
  • Simplest step: add components, actions, stores, style it sexually
  • Run in production: $ npm run production
  • ...
  • Profit!
Project structure:
│
├─── .gitignore
├─── README.md
├─── package.json
├─── server.js
├─── webpack.config.js
├─── app/
├─── ├─── index.html
│    ├─── css/
│    ├─── images/
│    ├─── js/
│    │    ├─── actions/
│    │    ├─── components/
│    │    ├─── constants/
│    │    ├─── dispatcher/
│    │    ├─── stores/

About

Flux boilerplate


Languages

Language:JavaScript 90.9%Language:HTML 9.1%