Git Product home page Git Product logo

reactr's Introduction

Reactr - A React boilerplate as simple as 1-2-3.

This ready-and-simple-to-use boilerplate includes es6, react, react-router, sass, bootstrap, font awesome and a few common dev packages.

Reactr Preview

Clone it

Clone this repository, run npm install then start coding.

Getting started

Want to add a new view?

As simple as 1-2-3:

  1. Create your view in /src/components/views directory
  2. Add you route in /src/components/application.jsx
  3. Add a link in the navbar in /src/components/views/shared/layout.jsx

Include third party easily

Import third party css or js files in src/main.js, like we already did for Bootstrap and Font Awesome. Yep, that's all.

Everything is packed and dev-ready

Webpack does the job, both JS and CSS. To start the webserver, simply type npm start and navigate to localhost:4444.

But also ready to deploy!

Job done, want to build? Type gulp dist, then browse /dist directory and get your packed files.

What next?

Don't know dude, it's your app now. Be creative.

Deeper: What's in?

Dependencies

  • react
  • react-dom
  • react-router
  • bootstrap
  • font-awesome

Dev-Dependencies

  • babel:
    • babel-core
    • babel-preset-es2015
    • babel-preset-react
  • webpack:
    • webpack
    • webpack-dev-server
    • webpack-stream
    • loaders:
      • babel-loader
      • css-loader
      • file-loader
      • sass-loader
      • style-loader
      • url-loader
  • gulp
  • gulp kits:
    • del
    • gulp-rename
    • run-sequence
  • node-sass

reactr's People

Contributors

yoannbureau avatar

Stargazers

mestre.stephane avatar

Watchers

 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.