GithubHelp home page GithubHelp logo

lab-board's Introduction

React & Material Design Sample Project

About

The basic function of react : compsition of UI component, navigation between UI, event dispatch, handle client data.

Features

  • Layout, Sidevar menu in smallscreen, title menu in large screen
  • Routing between UI based on URL
  • Asynchronous data access(AJAX)
  • Appendable list item

Agenda


Global install

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

Following technologies are used

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

Run Scripts

  • npm run ui live load ui http://localhost:4000
  • npm run clean Deletes Build files of Server and Client
  • npm run build Builds Server and Client
  • npm run start Start server in production environment
  • npm run development Start server in development environment

tools

editor

I think Visual Studio Code is better

You may want to install extension for better performance

Extension

npm, package.json

Option desriptioin for npm installing

  1. npm install [packagename] : install pkg into ./node_moduls
  2. npm install -g [packagename] : install pkg into user_home path/lib/node_modules
  3. npm install --save [packagename] : same as '1' and save pgk as dependencies into package.json
  4. 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

helpers

This site are nice to use to test and data creation.

test

  • 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

resource and data

CSS & design


architecture

TBD

lab-board's People

Contributors

iamnogada avatar

Watchers

Byunghoon Hwang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.