apprun-apress-book
apprun-apress-book copied to clipboard
apprun-apress-book
AppRun Book from Apress
This project contains the source code of the book Practical Application Development with AppRun.
AppRun was at 1.15 when book was published. Since then there are new features added to . Please refer the CHANGELOG and WHAT'S NEW of the project.
Use the Examples
Clone the project:
- git clone https://github.com/yysun/apprun-apress-book.git
And then run:
- npm install
Now, you can run the examples as following.
Chapter 1 - Getting Started
Double click the .html files to run the examples.
- chapter 1/1-3.html - the counter application
- chapter 1/1-4.html - the counter application with state history
Chapter 2 - Development Environment
- npm run hello-world
Chapter 3 - Model the State
- npm run jsx-counter
- npm run jsx-counter-history
- npm run counters
- npm run to-do
- npm run to-do-local
- npm run to-do-cloud
Chapter 4 - View Patterns
- npm run to-do-mvc
- npm run to-do-mvc-2
- npm counter-web-component
Chapter 5 - Event Patterns
- npm run clock
- npm run hello
- npm run hello-form
- npm run echo
- npm run typeahead
- npm run fab
- npm run echo-hash
- npm run worker
Chapter 6 - Asynchronous Events
- npm run weather
- npm run hn
Chapter 7 - Single-Page Applications
- npm run spa
- npm run spa-no-hash
- npm run spa-dynamic-import
- npm run spa-es-module
Chapter 8 - Administrative Dashboard
- npm run admin
- https://github.com/apprunjs/apprun-bootstrap
Chapter 9 - Server-Side Rendering
-
npm run ssr
-
https://github.com/yysun/apprun-ssr
-
https://github.com/yysun/apprun-ssr-aspnet
-
https://github.com/yysun/apprun-ssr-aspnet-core
-
https://github.com/yysun/apprun-ssr-express
-
https://github.com/yysun/apprun-ssr-laravel
-
Live App: https://apprun-hn-ssr.firebaseapp.com
-
Source code: https://github.com/yysun/apprun-hn-ssr
-
Web page performance test link: https://www.webpagetest.org/result/180708_RZ_67089f5b9e99ec9ad8e8a42c66938a5d/
Chapter 10 - Real-World SPA
- Live App: https://gothinkster.github.io/apprun-realworld-example-app
- Source code: https://github.com/gothinkster/apprun-realworld-example-app
Chapter 11 - Unit Testing
- Source code: https://github.com/gothinkster/apprun-realworld-example-app/tree/master/tests
Chapter 12 - AppRun DevTools
- Live App: https://gothinkster.github.io/apprun-realworld-example-app
- Source code: https://github.com/yysun/apprun/blob/master/src/apprun-dev-tools.tsx
- Source code: https://github.com/yysun/apprun/blob/master/src/apprun-dev-tools-tests.tsx