Git Product home page Git Product logo

boilerplate-electron-material-ui-react's Introduction

Boilerplate for React with Material UI and Electron

Up to date boilerplate with React, Electron and Material UI (Beta). I started to look a bit more in the folowing stack and noticed quite bad documentation in some areas or at least quite outdated ones, or ones containing huge amount of dependencies. And for newcomers that can be quite challenging to be thrown in a world with xyz amount of new things added to the mix.

That's why I have decided to create the boilerplate for my reference and to anyone else who would found it useful with the least amount of relevant dependencies.

Run steps:

1.) npm install
2.) npm run (Used npm run on Windows) || npm start (Used npm start on OS X) 3.) It will open browser with localhost:3000 page with rendering of basic Material menu
4.) open second terminal window
5.) npm run electron
6.) It will open electron native client

In regards to dependencies I have included only the most essential ones and as future prof as possible, since a lot of the projects are still in heavy development. I'll try to comment dependencies with appropriate references so development based on the boiler plate can be a bit easier to newcomers.

As well at least at the time of the writting Material UI is the most uptodate version available with huge features included in it Electron version included is also the newest with 1.7.5 and React 15.6.1

Dependencies:

"material-ui": "^1.0.0-beta.5", //Version 1 mostly beacuse of new Grid System but also due to a huge overhaul in Material UI itself 
"material-ui-icons": "^1.0.0-alpha.19", // Goes quite nicely with Material UI 
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-scripts": "1.0.11",
"react-tap-event-plugin": "^2.0.1" // Material UI requires it, but it's also a good temporary solution to a big problem 
"electron": "^1.7.5" // Cross platform framework for web tech to run natively 

Material UI: (Current beta docs docs) https://material-ui-1dab0.firebaseapp.com/
Material UI Icons: https://www.npmjs.com/package/material-ui-icons
React tap event plugin: https://github.com/zilverline/react-tap-event-plugin
Electron: https://electron.atom.io/

create-react-app was used to create the base of the project

boilerplate-electron-material-ui-react's People

Contributors

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