Skip to content
/ Paon Public

Paon Template Server is a Node.js-based service that hosts the frontend logic of your sites and builds pages on demand (CSR or SSR).

License

Notifications You must be signed in to change notification settings

Nebulaevo/Paon

Repository files navigation

🏗️ v0.1.1 - Current version is a proof of concept that still needs to be refined.

🦚 Paon Template Server

A Node.js Application for MVC Template Processing

  • ⚛️ Build frontends with React + Typescript
  • 🏗️ API endpoints for SSR or CSR rendering, per request
  • 🧩 Developed as a plug and play, framework agnostic solution to handle your frontend
  • 🌌 Monorepo structure handling multiple sites from the same service
  • ⚡ Asset optimisation & bundling with Vite
  • 🔧 Command Line Interface to manage sites and server

What is Paon ?

Paon is a solution for handling multiple sites frontend logic, to achieve that it:

  • Provides tools for developement (dev server, hot module reload...)
  • Bundles and optimises your code for production.
  • Provides a server exposing an API endpoint allowing to request the app shell of a website for client side rendering, or to render a page server side with a provided context

It has been developed to play the role of a template engine in a classic MVC architecture.

Example production structure graph diagram

Why use it ?

Paon is built primarily to decouple the frontend UI generation from the request handling cycle.

If you would rather use a non-JavaScript backend to handle the requests, database connections, caching...
But still want to use a React frontend, with other modern frontend tools, assets bundling and server side rendering...
Paon is made for you.

Documentation

Getting started

  1. Installation & setup
  2. Project structure
  3. Build a basic backend for the demo site

References

Ressources

About

Paon Template Server is a Node.js-based service that hosts the frontend logic of your sites and builds pages on demand (CSR or SSR).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published