Skip to content
/ quercia Public

Build modern monolith applications with a react frontend and * backend

License

Notifications You must be signed in to change notification settings

lucat1/quercia

Repository files navigation

quercia
A modern approach to monolith applications based on react

@quercia/runtime size Discord chat

An oakwood tree

quercia is a javascript framework based on the react view library inspired by other popular options like nextjs. The aim of the project is to enable the amazing DX of these aforementioned tools while using a non-javascript backend, such as Go, Ruby or PHP.

features:

  • filesystem-based page routing

  • zero-config support for modern JS and typescript

  • pages are statically rendered at build time (SSG)

  • dev mode with HMR and React Fast Refresh

  • lightweight and extensible client-side routing

  • any language with a JSON parser can be used to render a quercia page

current backends:

  • go - inside this repository

if you'd like to create a backend for your language of choice you can follow the guides in the internal section in our docs, or join our Discord server and get some help there!

quick start

If you want to get a quercia app up and running go ahead and clone one of our examples with degit.

$ npx degit lucat1/quercia-examples/basic # or `basic-ts` or `with-preact`

These examples don't require any backend code, as they use the @quercia/mock library to serve the application from sample data defined in the mocks folders. This way even front-end developers, whithout any knowledge of the backend code, can develop a quercia application. You can learn more about the mocking system in the docs.

setup

You can read our documentation on netlify for a quick introduction and setup instruction. For any question feel free to join our Discord server and ask there.

why quercia?

quercia is the italian word for oak tree. The branches of an oak might resemble what your monolith application structure looks like on the filesystem.