jairajs89 / starter-kit-react

Starter kit for building React webapps with Zerver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Starter Kit

Build Status

Setup

git clone git@github.com:jairajs89/starter-kit-react.git
cd starter-kit-react
npm install

Run debug server

npm start

Go to http://localhost:5000/ in your browser

Run test suite

npm test

The test suite includes linting of styles and scripts

Code structure

src/
    index.jade
    main.js
    xlib/
    lib/
    component/
    style/
    img/
test/
    lib/
    component/
  • src/ All of our shipped code
  • src/index.jade Root file that compiles to HTML, put file dependencies here
  • src/main.js Root JS file that acts like the main method, all other files simply hold classes
  • src/xlib/ External dependencies
  • src/lib/ Internal libraries and utilities
  • src/component/ UI component classes (built using React)
  • src/style/ LESS style files (per component)
  • src/img/ Static images

External documentation

About

Starter kit for building React webapps with Zerver


Languages

Language:CSS 66.2%Language:JavaScript 29.3%Language:HTML 4.5%