https://github.com/yysun/apprun-ssr
AppRun server-side rendering example
https://github.com/yysun/apprun-ssr
Last synced: 5 months ago
JSON representation
AppRun server-side rendering example
- Host: GitHub
- URL: https://github.com/yysun/apprun-ssr
- Owner: yysun
- Created: 2018-06-26T12:38:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T16:20:41.000Z (over 2 years ago)
- Last Synced: 2024-04-14T18:48:40.465Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://apprun-ssr.glitch.me
- Size: 305 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AppRun - Server Side Rendering
[AppRun](https://github.com/yysun/apprun) is isomorphic/universal. AppRun components can render on the client-side, as well as on the server-side using the AppRun server-side view engine.
In this SSR AppRun application example, there are:
* The express.js server application (server.ts),
* The site layout (components/layout.tsx),
* The AppRun components (components/*.tsx)
* The client-side application (/public/spa.js).You can run the application on @glitch, [https://apprun-ssr.glitch.me](https://apprun-ssr.glitch.me/)
To develop and build the application
* Use _npm start_ to start the server
* Use _npm run build_ to build for productionHave fun.
(C) Copyright, Yiyi Sun