hiyaryan / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
3 stars 0 forks source link

Close beta testing to approved users. #81

Closed hiyaryan closed 7 months ago

hiyaryan commented 7 months ago

To follow OpenAI's API usage rules, I must use my API key for this application. This API key will be hidden and remain on the backend in an environment variable as it normally would.

For this reason, while the tiering system is being developed (see issue #80) beta testing should be closed to approved users. Anyone may request to be a beta tester with a valid email and manual approval by me.

This will include, updating the configuration section to remove the API key. Or create an admin account that has access to these configurations for ease of updating the API (in this case the API key can remain encrypted in the database using a secure admin key).