I've setup a resty server with an redis db.
I want to CRUD values in redis db from an external resource like a control-panel which is running on another server.
Therefore I thought about some api routes to get/set.. values from/to the database.
e.g. server B sends a json post request to resty server, resty server parses the request and save the values into the database.
Is there an existing library for a use case like that?
Are there existing projects wich do something similar?
Is there a way to secure the api with jwt tokens?
- or am I completely wrong with my approach? (I'm not a resty nor a lua expert)