|
1 | 1 | # Example Github Page PWA with NextJs, code splitting Redux-Toolkit, Sql.js, Typeorm, Typescript, Eslint, Jest and Emotion.
|
2 | 2 |
|
| 3 | +## Highlight |
| 4 | +* **Multi-page** **React** **Progressive Web App** |
| 5 | +* Installable for **offline** use through Chrome on desktop or **mobile** |
| 6 | +* Can be statically hosted on **Github Page** for free (or as a regular web app hosted on a custom server) |
| 7 | +* Dynamically loaded **Redux** reducers for **code splitting** |
| 8 | +* On browser **SQL** database |
| 9 | +* Prefetch security sensitive content at build time |
| 10 | +* All in **Typescript**/Javascript with **CSS-in-JS** |
| 11 | +* Easy testing with **Jest** and **Enzyme** |
| 12 | +* **Eslint** helps practice standard coding styles |
| 13 | + |
| 14 | + |
3 | 15 | ## Versions
|
4 | 16 | * NextJs v9.3.4
|
5 | 17 | * Redux-Toolkit v1.3.4
|
|
26 | 38 | ```sh
|
27 | 39 | npm run dev
|
28 | 40 | ```
|
29 | | -4. read [Setup](#Setup) for notes |
| 41 | +4. export to `docs/` for GIthub Page deploy |
| 42 | + ```sh |
| 43 | + npm run export |
| 44 | + ``` |
| 45 | +5. read [Setup](#Setup) for notes |
30 | 46 |
|
31 | 47 | ## Setup
|
32 | 48 |
|
|
0 commit comments