Giter Site home page Giter Site logo

react-ui-material-archetype's Introduction

react-ui-material-archtype

About

This is a template project for ReactJS frontend applications that use Material-UI components

The features built into this projects:

  • React, with JSX and ES6 support (babel)
  • react router
  • Material-UI
  • Themes support
  • Flux
  • Stores
  • REST proxy layer
  • sample pages
    • navigation header
    • footer
    • info page (cards)
    • list with items
    • form
  • static code analizer: jshint, eslint
  • build and QA commands directly with npm: eslint, lint, watch, browserify, build, test

Usage

A real project instance can be generated via the kickoff utility with the following command:

$ kickoff -s tombenke/react-ui-material-archtype -d new_project

For further details on how to use the kickoff tool visit the kickof documentation pages.

After the new project has been successfully created, move into the folder, and install the dependencies with the following command:

Run the install command:

$ cd new_project
$ npm install

Build the app

To create the dist package, run either:

npm run browserify

or

npm run watch

The results will appear under the dist folder. You can start using it by opening the dist/index.html page with a browser, or start a http server (such as http-server) which serves the dist folder as static resources.

Static code analysis

For linter you need to install eslint and babel-eslint

sudo npm install -g eslint
sudo npm install -g babel-eslint

Also need to set properly the .eslintrc file

{
    "parser": "babel-eslint",
    "env": {
        "browser": true,
        "node": true,
        "es6": true
    },
    "ecmaFeatures": {
        "modules": true
    },
    "rules": {
    }
}

Planned features and modifications

References

react-ui-material-archetype's People

Contributors

tombenke avatar

Watchers

James Cloos avatar Adam Bereczk 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.