daniel-williams / react-mobx-nimble

Nimble React starter using JSX, Typescript, Webpack 3 and MobX for state management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React MobX Nimble

Nimble React starter using JSX, Typescript, Webpack 3 and MobX for state management.

Table of Contents

Overview

This starter includes a sample React Todo app which demostrates MobX integration and patterns. It's primary purpose is educational and to serve as a hacking starter.

Features

Build tools

Quick Start

Clone or Fork this repo to get started

$ git clone https://github.com/daniel-williams/react-mobx-nimble

Install dependencies

# using yarn
$ yarn

# using npm
$ npm i

Development

# browse to http:\\localhost:3000
$ npm start

Build

# output to /dist
$ npm run build:prod

File Structure

root
 ├──client                     * static assets, copied to /dist on build
 |   └──assets                 * website static assets
 |       ├──images             * favicon
 |       └──styles             * vendor styles
 ├──config
 |   |   └──typings            * typings to support css modules
 |   ├──helpers.js             * project build helpers
 │   ├──webpack.build.js       * adds/overrides common configuration (prod/stag builds)
 │   ├──webpack.common.js      * common webpack configuration
 │   └──webpack.dev.js         * adds/overrides common configuration (dev/remote builds)
 ├──src/
 |   ├──app/                   * app source code
 |   ├──index.html             * entry file for app
 |   ├──polyfills.js           * libs to allow modern js syntax in legacy browsers
 │   └──vendors.js             * imports app dependencies
 ├──.gitignore                 * repo file exclusions
 ├──package.json               * Node Package Manager project file
 ├──README.md                  * this file
 ├──tsconfig.json              * Typescript environment configuration
 ├──yarn.lock                  * auto-generated file for consistent dependency versioning
 │
 └──dist/                      * prod/stag builds output files here

Useful links

MobX

Author

Daniel Williams

https://github.com/daniel-williams/react-mobx-nimble

About

Nimble React starter using JSX, Typescript, Webpack 3 and MobX for state management.


Languages

Language:TypeScript 60.8%Language:JavaScript 25.0%Language:CSS 13.2%Language:HTML 1.0%