Giter Site home page Giter Site logo

react-boilerplate's Introduction

React Boilerplate

React Redux Boilerplate with Webpack and Hot Module Replacement configuration. Without any front-end frameworks because this is usually switchable part of the whole stack. In the demo files there is also some code repetition, of course this is just becaus I don't wanted to provide more abstraction in the code.

This is a simple React boilerplate with:

Usage

$ git clone https://github.com/juliancwirko/react-boilerplate.git
$ cd react-boilerplate
$ npm install
$ npm start

...and go to: http://localhost:3000

Prepare for production

If you are ready to prepare your production files. You can run npm run build. Webpack will bundle and save all needed files (.js, .css, img, .html) in the public folder.

CSS and JavaScript linters

There is AirBnB JavaScript styleguide and ESLint configured. You can lint your project by running npm run lint or using editor plugins.

[TODO] Stylelint integration.

Testing

[TODO] I plan to integrate Jest and other tools

Storybook

[TODO] There will be Storybook on board too.

Data layer

For now I use only standard fetch here. But I plan to use this boilerplan with GraphQL/Apollo so I'll probably prepare another one, very similar to this one, but integrated with Apollo.

License

MIT

Changelog

  • 1.0.0 total rewrite, updates etc.

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.