hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
6.63k stars 240 forks source link

add healthecheck api endpoint #332

Closed wuast94 closed 2 months ago

wuast94 commented 4 months ago

Hopefully i did all right.

Checked functionality locally.

was quite hard to find out how to disable the hooks (ESlint checking failed)

wuast94 commented 2 months ago

Hey @wuast94, I'm really sorry it took me that long to get to this PR. Thanks a lot for taking the time to implement it. I'd understand if you no longer have time to address the requested feedback :)

Didnt see it sry 😅 The healthcheck gets very simple then because its just the response if i didnt miss anything.

MohamedBassem commented 2 months ago

@wuast94 yeah, the healthcheck is mostly making sure that the web server is up and running.

wuast94 commented 2 months ago

dont know why i left the variable in there but you are right on this, good catch 😊 maybe because im not a programmer xD

MohamedBassem commented 2 months ago

Thanks @wuast94!