majumdartanmay / collab

A small light weight web app to collaborate using text.
MIT License
1 stars 0 forks source link

Creating separate configuration file for client #12

Closed majumdartanmay closed 6 months ago

majumdartanmay commented 6 months ago

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