Hello,
I would like to ask you for advice as I’m trying to figure out the optimal app infrastructure.
General requirements:
- The app is a fully client-side React TypeScript app (bootstrapped using Vite).
- The app has a few different features/entry points, e.g., board, item menu, multi-item menu.
- Different features have different views; however, they share similar functionalities, so logic and code are shared.
- I need full CI/CD support with dev/staging/prod environments.
To my understanding, monday-code supports only server-side applications, so I have two options:
- Host the client-only app on some server and use URL builds for features. Each feature can be under its distinct URL path, e.g.,
<base-url>/board-feature
,<base-url>/item-menu-feature
. - Implement my app as a full-stack app with a Node.js backend that only serves the client app, and then use monday-code to host the app. In that case, I can also use distinct URL paths for different features.
In both cases, I need to add routing.
Is my understanding correct? Is there a better, more robust approach that you could suggest?
Any advice is much appreciated. Thanks.