cognovi-ai / 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

Show the entryId in the url as a param. #8

Closed hiyaryan closed 10 months ago

hiyaryan commented 10 months ago

This PR introduces dynamic routing. This includes,

Note for full API access, the user should be able to access an entry by chatId. Currently this GET endpoint does not exists as it doesn't seem clear how the user will attain the chat url or if it is necessary considering every chat can be access with a given entryId (it doesn't seem necessary currently).