Skip to content

Commit 3f31bdc

Browse files
committed
Refactor rest-api-example, eliminate a lot unneeded build tools
1 parent ba994f0 commit 3f31bdc

File tree

12 files changed

+41232
-79
lines changed

12 files changed

+41232
-79
lines changed

examples/rest-api/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
dist

examples/rest-api/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
This example shows how to build a generic Rest API module for NuclearJS's flux architecture.
44

5+
## Running the example
6+
7+
The built files are already checked in, simply open `index.html` to see the example. Make sure you open the console to see the actions being dispatched.
8+
9+
**To watch/rebuild**
10+
11+
```sh
12+
npm run watch
13+
```
14+
515
## Architecture
616

717
#### A client-side source of truth

0 commit comments

Comments
 (0)