An open API service indexing awesome lists of open source software.

https://github.com/peterluhub/realworld-example

realworld example app implementations that use XSM to manage the app state.
https://github.com/peterluhub/realworld-example

angular react realworld redux state-management vue xsm

Last synced: 3 months ago
JSON representation

realworld example app implementations that use XSM to manage the app state.

Awesome Lists containing this project

README

          

This repo contains the [realworld example app](https://github.com/gothinkster/realworld) implementations that use [XSM](https://github.com/peterluhub/xsm) to manage the app state. It uses [rw-xsm-handlers](https://www.npmjs.com/package/rw-xsm-handlers) as the common module to manage the app state as well as the API logic to the realworld example app backend for all the XSM supported frameworks.
It strides to demostrate that you can write the state and API code once and use it for all the supported frameworks with XSM.

## Install
Clone this repo
```sh
git clone git@github.com:peterluhub/realworld-example.git
```

Run in the same directory(package root directory) of this README.md:
```sh
npm install
```

Run in the framework directory(./react-xsm for React):
```sh
npm install
```
Build the js bundle by running:
```sh
npm run build
```

Run the following to bring up the web server and see it in the browser:
```sh
npm run serve ./react-xsm/dist
```

##### Note
The status of angular-xsm app is work-in-progress. The work has just started.