drunomics / lupus-frontproxy
A simple frontproxy that combines requests of an API backend and a static web frontend.
Installs: 7 855
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 2
Requires
- guzzlehttp/guzzle: ^6.3.0
- symfony/http-foundation: ^3.4.15
- symfony/psr-http-message-bridge: ^1.0
- 1.x-dev
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-rc1
- 1.0.0-beta8
- 1.0.0-beta7
- 1.0.0-beta6
- 1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta1
- 1.0.0-alpha18
- 1.0.0-alpha17
- 1.0.0-alpha16
- 1.0.0-alpha15
- 1.0.0-alpha14
- 1.0.0-alpha13
- 1.0.0-alpha12
- 1.0.0-alpha11
- 1.0.0-alpha10
- 1.0.0-alpha9
- 1.0.0-alpha8
- 1.0.0-alpha7
- 1.0.0-alpha6
- 1.0.0-alpha5
- 1.0.0-alpha4
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-renovate/configure
- dev-feature/WV-4304
- dev-feature/LDP-607
- dev-feature/WV-4277
- dev-feature/LDP-128-2
- dev-feature/LDP-128
- dev-feature/LDP-128-metatags
- dev-feature/drupal-backend
- dev-1.0.0-alpha8
- dev-feature/LDP-114
This package is auto-updated.
Last update: 2022-10-26 07:49:48 UTC
README
Proxies main application requests and prepares pre-rendered pages by combining the pre-rendered page-shell provided by the front-end and the content provided by the backend. Sub-sequent requests will hit fetch the content from the backend via API requests directly.
The package can be used with pluggable request mergers, while the package ships with a working example for a Nuxt.js based generated static frontend.
Example setup
Add a web docroot for your front-proxy as shown in the provided example, in the example
directory.
The example is working well with https://github.com/drunomics/multisite-request-matcher/ and https://github.com/drunomics/phapp-cli since it uses the environment variable names as defined by those packages.