Skip to content

A simple todo list demo of using Egg.js, React and MobX.

Notifications You must be signed in to change notification settings

brickyang/egg-react-mobx-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A todo list demo of using Egg.js, React and MobX altogether.

This repository keeps all different "stages" of this demo, so you can see the "evolution" path of it.

Branches

  • master: update to SSR(server-side rendering).
  • v3: rewrite with Typescript. To use Typescript in Egg.js please check egg-ts-boilerplate.
  • v2: use egg-webpack for compile and hot reloading webpack in development, no SSR.
  • v1: the "raw" version, everything is independent.

Installation

$ git clone [email protected]:brickyang/egg-react-mobx-demo.git
$ cd egg-react-mobx-demo
$ npm install

Development

$ npm run dev

Production

$ npm run build
$ npm start
// open http://localhost:7001