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.
- Host: GitHub
- URL: https://github.com/peterluhub/realworld-example
- Owner: peterluhub
- Created: 2019-07-14T14:49:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T23:44:55.000Z (over 3 years ago)
- Last Synced: 2023-03-02T21:50:42.885Z (over 3 years ago)
- Topics: angular, react, realworld, redux, state-management, vue, xsm
- Language: JavaScript
- Homepage:
- Size: 3.22 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
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.