I have a project which is a React TS front end, deployed in one repl, and a node.js backend, which is deployed in another repl. As far as i can tell, the data in replit DB for the backend is shared completely by the backend deployed and dev versions. What i want to do is have the deployed, production version of my front end only use replit DB data from the deployed version of the back end, and have the dev version of my front end only use replit DB data from the dev version of the back end. How do i do this?
I know that replit secrets can be used for environmental values, but i dont understand how to set them up to do what i described. Can anyone walk me through the basics? Thanks!
Repl link/Link to where the bug appears:
Screenshots, links, or other helpful context: