Direct4Ag / ag-services

1 stars 0 forks source link

Add Create and Delete endpoints for all the models #42

Closed Rashmil-1999 closed 1 month ago

Rashmil-1999 commented 2 months ago

The end goal is to be able to write a script similar to init_db with which we can upload data once the service is hosted.

navarroc commented 2 months ago

We should consider adding an API key for simple authentication here. For now, it will mostly be us adding fields so this would prevent unwanted data. Later we can consider something more sophisticated.

Rashmil-1999 commented 2 months ago

ahh i see, like a specific keyword like being loaded form env that the backend knows and people authorized knows.... doesn't have to be proper API key as well. Ill see if it is not too much effort to put in API key system.