Git Product home page Git Product logo

react-annotator's Introduction

Webapp Starter

Configured starter repo to build web apps with React and ES6 modules.

Features

  • Package manager: jspm
  • ES6 modules
  • Web server with live reload using BrowserSync
  • Gulp
  • Node-sass
  • Unit tests: Karma, Mocha, Chai, Sinon
  • Uglify JS
  • CSS Autoprefixing and minification

Usage

  • Clone the repo
  • Install jspm npm install -g jspm
  • Install gulp npm install -g gulp
  • npm install
  • jspm install
  • Gulp tasks:
    • gulp or gulp serve To run the application on port 3500, watchin changes on js files (compiling jsx) and sass files (compile, autoprefix and produce sourcemaps).
    • gulp test Shortcut to run karma, it of course can be run directly without gulp
    • gulp build Same as gulp except it doesn't run a server
    • gulp dist Make a distribution copy: Bundle the application in one JS file and minify it with Uglify, compile sass files and minify them, put everything in the dist folder.

Everything in the src folder is for example purposes. Have a look to see how everything is wired (the application itself is not finished and might not be).

Why choose… ?

  • ES6 modules: They're the future baby
  • JSPM: Get the best of the npm and bower world with no hassle.
  • Gulp: gulp won, is just better.
  • Sass: sass has always been the best, node-sass brings the speed so no need for anything else.
  • Karma: I like Testem too, but karma has a larger community around it and it's easy to integrate with SystemJS and jspm
  • BrowserSync: Because is seriously awesome.

Roadmap

  • Integrate rendering at compilation time for the home page (index.html), preferably still using ES6 modules (JSX transpiler doesn't support them)
  • Incorporate code coverage with Istanbul (waiting on computmaxer/karma-jspm#22 from karma-jspm)
  • .(Maybe) Integrate one of the many Flux implementations
  • .(Maybe) Integrate a router

Resources

If you want a more stable and probable better put together React Kit project that uses webpack, have a look at the React Starter Kit.

react-annotator's People

Contributors

soundobj avatar

Watchers

 avatar

Forkers

cv-net

react-annotator's Issues

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.