Watcharr icon indicating copy to clipboard operation
Watcharr copied to clipboard

API keys support on the backend

Open titanventura opened this issue 2 years ago • 3 comments

Fixes #360 partially

Changes made

  • Added a table for API Keys
  • added routes for users to be able to manage their API keys
  • added a middleware to authenticate routes using API keys
  • use the middleware for GET method of /api/watched endpoint

titanventura avatar Feb 28 '24 02:02 titanventura

@IRHM , please go through the updated PR. Thanks !

titanventura avatar Mar 02 '24 20:03 titanventura

Hi @titanventura, I'm happy to get this merged. Thanks for the good work!

There are a few minor things, but It's probably best I do them after deciding how the UI will work so it isn't wasted effort incase it needs changing.

Thanks!

IRHM avatar Mar 06 '24 21:03 IRHM