Skip to content

tonyspiro/easy-mobx-example

Repository files navigation

Easy MobX Example

This is an easy MobX example that uses React for UI, MobX for state management, Cosmic JS for the CMS API and Shorti for easy inline styles. View the demo here.

Supports ES6 and JSX compilation through babel.

Check out the companion blog article to this repo here:
Getting Started With MobX: An Easy Example

###Getting started

git clone https://github.com/tonyspiro/easy-mobx-example
cd easy-mobx-example
npm install

#####Run development with hot reloading

npm run development
open http://localhost:3000

#####Run production

npm start
open http://localhost:3000

###CMS API By default the posts are connected to the Cosmic JS bucket easy-mobx-example. Sign up for Cosmic JS to add your own bucket, and edit the config.js file to point to your bucket.

Releases

No releases published

Packages

No packages published