Giter Club home page Giter Club logo

universal-js-boilerplate's Introduction

UniversalJS Boilerplate

Universal JS Boilerplate

A boilerplate to quick start JavaScript Isomorphic Web Applications

Technology Stack

  • ES2015 / ECMAScript 6th Edition - the upcoming version of the ECMAScript standard.
  • Babel - Next generation JavaScript, today.
  • Browserify - Browserify lets you require('modules') in the browser by bundling up all of your dependencies.
  • React - A JavaScript library for building user interfaces.
  • React Router - Complete routing solution designed specifically for React.js.
  • React Engine - A composite render engine for isomorphic express apps to render both plain react views and react-router views.
  • Stylus - Expressive, dynamic, robust CSS
  • NodeJS - Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.
  • Express - Fast, unopinionated, minimalist web framework for Node.js.
  • Gulp - Automate and enhance your workflow.

Requirements and Install

Node.js v0.10.33 installed at least.

$ npm install -g [email protected]
$ npm install -g babel browserify nodemon
$ npm install
$ npm run build
$ npm start

And open your browser on http://localhost:3000

Folder structure

.
├── /build/                   # Transpiled and minifiqued output files.
├── /docs/                    # Documentation about your project.
├── /node_modules/            # Node Modules and 3rd-party libraries.
├── /src/                     # Source code of the web application.  
│   ├── /app/                 # Isomorphic App source code.
│   │   ├── /client/          # Client-side startup script.
│   │   ├── /server/          # Server-side startup script.
│   │   ├── /shared/          # Shared components between Client-Server.
│   │   │   ├── /components/  # React components.
│   │   │   └── routes.js     # Shared routes between Client-Server.
│   │   └── config.js         # App config (URLs, names, etc...).
│   └── /styles/              # Stylesheets coding with Stylus Preprocessor.
├── gulpfile.babel.js         # Config file for automated Builders.
├── package.json              # App manifest and list of libraries installed.
├── .editorconfig             # define and maintain consistent coding styles.
├── .eslintrc                 # ECMAScript 6 and React linter.
├── .jscsrc                   # JavaScript code styles
└── .stylintc                 # Stylus CSS code style

License

Open Source. MIT © Carlos Azaustre

universal-js-boilerplate's People

Watchers

 avatar  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.