This is not desirable since a backend configuration file might expose sensitive information on the client side. We would want to create a separate config for client which will have only the necessary information .
We can then try to automate the creation of the configuration using gulp or just basic vanilla js
Problem statement
Right now configurations for both server and client is stored at https://github.com/majumdartanmay/collab/blob/main/backend/backend.json
This is not desirable since a backend configuration file might expose sensitive information on the client side. We would want to create a separate config for client which will have only the necessary information .
We can then try to automate the creation of the configuration using gulp or just basic vanilla js