osenvosem / react-mobx-boilerplate

React + React Router + MobX boilerplate
MIT License
20 stars 4 forks source link

React + React Router + MobX boilerplate with a small example app.

Features

To start

Prepearing for production

Command list

Structure

app
├── client.js # client entry point
├── modules # parts of an app
│   ├── Notes
│   │   ├── components
│   │   │   ├── AddNote.js
│   │   │   ├── Note.js
│   │   │   └── NoteList.js
│   │   ├── index.js # must export store
│   │   ├── store.js # stores state and actions
│   │   └── styles.css
│   ├── index.js # gathering stores and passing it to component tree
│   └── sharedStyles.css
├── routes.js
└── shared # shared folder available anywhere in the app
    ├── components
    │   └── Header
    └── services