Skip to content

yaron1m/react-material-ui-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Material-UI seed

Build Status dependencies devDependency Status PRs Welcome License: MIT

This is a seed for a simple react app with the following capabilities:

Live demo:

See live demo here.

Requirements

  • node ^5.0.0
  • npm ^3.0.0

Getting started

To start your new app, first clone this project:

$ git clone --depth=1 https://github.com/yaron1m/react-material-ui-seed.git <my-project-name>
$ cd <my-project-name>

Then, install the project dependencies:

$ npm install

To run the app, use:

$ npm start

The app will start at http://localhost:3000

Project structure

.
├── public                        # Static files for running the app
│   ├── index.html                # Base HTML file with div replaced by app
│   └── favicon.ico               # App icon, you may want to replace this
├── src                           # Source code
│   ├── header                    # App header and navigation drawer
│   │   ├── Header.tsx            # Blue app header component
│   │   └── LeftDrawer.tsx        # App left drawer, opened from header menu button
│   ├── pages                     # App pages
│   │   ├── AboutPage.tsx         # Simple about page, rendered when navigating to '/about'
│   │   ├── HomePage.tsx          # App home page, displaying text box and message
│   │   └── HomePageContainer.ts  # Connecting HomePage.tsx to the redux store
│   ├── store                     # Redux store
│   │   ├── index.ts              # Creating the redux store with combineReducers and thunk
│   │   └── user-info             # Sample reducer
│   │       ├── Actions.ts        # Handling UPDATE_NAME actions
│   │       ├── ActionTypes.ts    # Defining user-info reducer action types
│   │       └── Reducer.ts        # Reducer for user-info, holding the user name and selectors
│   ├── App.tsx                   # Displaying the header and app content
│   ├── Routes.tsx                # Managing app routes
│   ├── index.css                 # App body css, setting the margin and background color
│   └── index.ts                  # App entry point, creating redux store
├── .eslintrc.js                  # Configuration file for ESLint
├── .travis.yml                   # Configuration file for TravisCI
└── package.json                  # Project information and dependencies.

Author

Yaron Malin - LinkedIn

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Releases

No releases published

Packages

No packages published