The basic function of react : compsition of UI component, navigation between UI, event dispatch, handle client data.
- Layout, Sidevar menu in smallscreen, title menu in large screen
- Routing between UI based on URL
- Asynchronous data access(AJAX)
- Appendable list item
- [install & run](#global install)
- tools
- architecture
The environment requires node and global packages.
Need to update npm version more than 3.x.x
because it will optimize npm packages
'npm install -g webpack webpack-dev-server cross-env babel-node babel-cli nodemon'
(babel-node doesn't need!)
(sudo needs in OXS or Linux)
- webpack: running babel tranpill and combining js and so on
- webpack-dev-server: run http server and inject js and css, live load
- cross-env: senvironment properties set- development or pproduction, so that application knows running mode
babel-node,babel-cli: babel package support for ES6(EcmaScript 2015)
Preview: https://myguddy.github.io
Need to run 'npm install'
- axios
- babel
- express
- bcryptjs
- mongoose
- react
- react-router
- react-addons-css-transition-group
- react-addons-update
- redux
- redux-thunk
- materializecss
- react-hot-loader
- webpack
- webpack-dev-server
- style-loader
- css-loader
npm run ui
live load ui http://localhost:4000npm run clean
Deletes Build files of Server and Clientnpm run build
Builds Server and Clientnpm run start
Start server in production environmentnpm run development
Start server in development environment
I think Visual Studio Code
is better
- Atoms
- Visual Studio Code
- sublimetext
You may want to install extension for better performance
Option desriptioin for npm installing
- npm install [packagename] : install pkg into ./node_moduls
- npm install -g [packagename] : install pkg into user_home path/lib/node_modules
- npm install --save [packagename] : same as '1' and save pgk as dependencies into package.json
- npm install --save-dev [packagename] : same as '1' and save pgk as devdependencies into package.json
npm install
install all of packages in package.json.
Global packages can run from command line but local packages can only in js source code.
If you need both of module js and command line, then you install global and local, tools
This site are nice to use to test and data creation.
- es6fiddle : EcmaScript 2015, ES6 Test console
- codepen : HTML, CSS, JS test console. You can set 3rd party lib and CDN resource
- sassmeister : test sass/scss for CSS2/3. automatically generating css from sass/scss
- JSON Editor
- Greate Useful Data generator : automatically generating the data as csv, json.........
- random image generator : http://lorempixel.com/, http://loremflickr.com/, https://dummyimage.com/, https://unsplash.it/
- Logo generator
- CSS Tooling
- material design template: http://materializecss.com/, https://www.muicss.com/, https://getmdl.io/
- design concept : https://dribbble.com/, https://material.uplabs.com/,
TBD