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) express-middleware-fetch - npm
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Is there a possibility to convert the whole engine to TypeScript?
|
2 | 361 | September 5, 2022 | |
TypeScript boilerplate (Vite Bundler)
|
0 | 250 | May 10, 2023 | |
Typescript support
|
1 | 473 | November 1, 2022 | |
melonJS in Angular
|
0 | 265 | December 23, 2022 | |
melonJS in Observable
|
0 | 224 | January 16, 2023 |