uvsankar / dairy

A Personal diary with encryption.
MIT License
13 stars 3 forks source link

User shall create entry under any journal #20

Closed uvsankar closed 6 years ago

uvsankar commented 6 years ago

Currently if a user needs to use different journal, he needs to change the journalName in the config. This is tiresome. Expose a new endpoint '/journal/{journalName}/new' this is similar to index expect that it wont use the journal name in the config.

nithinsanjey commented 6 years ago

why would anyone need 2 journals??

uvsankar commented 6 years ago

I had a specific use case. I usually log daily events and occasionally write about any important things happened. To separate these two I needed this support. If needed we can support different templates for each journal which I think will be more interesting.

nithinsanjey commented 6 years ago

Yes, everyone has such needs. Good catch!!