ArgusOSS / urNode

QuickNode/Infura/Alchemy but the power is actually in your hands.
https://urnode.readthedocs.io/
MIT License
3 stars 2 forks source link

Express-TypeScript written easy to use backend server to manage the k8s pods and query them #5

Closed 0x0elliot closed 2 years ago

0x0elliot commented 2 years ago

More on this in a bit.

0x0elliot commented 2 years ago

the typescript server in the middle is what i am going for:

Blank board (9)

0x0elliot commented 2 years ago

the server in the middle would be the exposed service to the internet out of the rest of the Kubernetes cluster. it should keep a track of the Kubernetes pods running. might need a database and would probably end up being a full-fledged exposed service. i can't do this one alone, might need some help on this part.

0x0elliot commented 2 years ago

basically, this service needs to be good enough to other than acting as a proxy between the geth graphql instances and then checking if the token provided for them is right or not (this service thus needs to have a database of its own)

other than that, this service will have a set token set by the user for each user that logs into the main server. maybe store that in a redis instance instead.

also, this service should have API endpoints to query:

0x0elliot commented 2 years ago

okay, wait a couple of days before taking up this issue. i might move the whole infra to k8s itself. the docker swarm deployment would be totally different.

0x0elliot commented 2 years ago

okay, this will be done by the celery server. closing this issue as it's overkill.