Shared Validation Library (Zod) Between Frontend and Backend in Monorepo on Railway
lowscarlet
HOBBYOP

9 months ago

Hi, I have a project where the source code is divided into frontend and backend folders inside a single repository. I recently added a new shared folder for validation logic using Zod, so that both frontend and backend can reuse the same validation schemas. It works fine locally, but will this setup also work properly when deployed on Railway? Are there any specific configurations I need to be aware of to ensure the shared folder is correctly used by both the frontend and backend during deployment and how?

Solved$10 Bounty

3 Replies

lowscarlet
HOBBYOP

9 months ago

97c63411-6d9f-4ce9-9523-99578db355c8



lowscarlet
HOBBYOP

9 months ago

thanks


Status changed to Solved chandrika 9 months ago


Loading...