Redis Server in a f7 React App

Hello f7 Community,

I want to implement an app to add, read, delete and update items in a Redis Server. I would like to have some guidance on what would be the best way to implement the redisClient without exposing it to the front end and initializing it with the standard "scripts": {"start": "react-scripts start"} I would like to know how to properly keep the backend separated from the frontend, and be able to use the redisClient object to call the API.

I am working with the React template.