Skip to content

vincehi/mithril-ssr-boilerplate

Repository files navigation

Presentation

Server :

  • The server: Koajs
  • Server side route: koa-router
  • Static files served by the server: koa-static
  • Server side rendering: mithril-node-render + mithril

client :

  • virtual dom: mithril

Start

To start the project, just clone it. Then, make an install npm to install the dependencies. Then, to start the server and webpack compilation, npm run watch. The server restarts with each change made on the configuration.

Constraints

The goal here is to create a site server side rendering very small size while keeping the power of the big front frameworks. I do not want to load a superfluous library and maximize the library power I have at my disposal.

To be continued

Resources