Another One Fucking Boilerplate

screenshot of Another One Fucking Boilerplate
express
react

Yes, another one JS boilerplate.

Overview:

This is a boilerplate for building web applications using Node.js and React. It provides a set of features and tools to help with development and deployment. The boilerplate includes support for isomorphic rendering, routing, and data validation. It also includes a set of optimizations for the client bundle, such as automatic image optimization and cache busting. The production configuration is included and there is support for deploying with Shipit in one command. The boilerplate follows HTML best practices and includes BDD tests for code coverage. It is licensed under MIT.

Features:

  • Isomorphic rendering for node.js and browser with React
  • Isomorphic routing for node.js and browser with React Router
  • Babel for new JS features: es2015, stage-2, JSX for React
  • Same JS for node.js and browser
  • Webpack for bundling
  • PostCSS and plugins: Autoprefixer, CSSNext, CSS modules
  • I18N modules, like CSS modules, but for i18n
  • Optimizations of the client bundle
  • Automatic image optimization and inlining when possible
  • Polyfills
  • Data validation for MongoDB
  • Providing data for components in one response
  • API for components
  • Flux-like architecture
  • ESLint for code quality
  • CSSComb for CSS linting
  • BDD tests with Mocha, Chai, Sinon, Nock
  • Istanbul for code coverage
  • Production configuration is included
  • Deploying with Shipit in one command
  • One command rollbacks
  • Travis CI integration
  • Coveralls integration
  • HTML best practices from HTML5 boilerplate
  • To-do list example
  • Up-to-date dependencies

Summary:

This boilerplate provides a comprehensive set of features and tools for building web applications using Node.js and React. It includes support for isomorphic rendering, routing, and data validation, as well as various optimizations for the client bundle. The production configuration is included, and the deployment process is simplified with Shipit. The boilerplate also follows HTML best practices and includes BDD tests for code coverage. Overall, it offers a solid foundation for building web applications efficiently and effectively.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.