An open API service indexing awesome lists of open source software.

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

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 production

Have fun.

(C) Copyright, Yiyi Sun