express-middleware-fetch #1227
customautosys
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created a new npm package! It solves the problem of creating a fetch compatible function to call routes on the same express server. Inspired by express-data-ssr. Very useful for calling a backend package which you run as a middleware, within your server side rendering code (let's say you are using SSR in node.js for the initial render of your game as an SPA and you are using a headless CMS for the data like directus) https://www.npmjs.com/package/express-middleware-fetch
Beta Was this translation helpful? Give feedback.
All reactions