There's a relay written in C++ called strfry, and there's one written in typescript named #nostream. Maybe you can get inspired by them.
Nostream seems really easy to operated and .make money with. They might inspire you.
It would be nice if #nostr had a github repo with automated tests dor relays so anyone implementing a relay would know if he's doing the right thing or not.
#grownostr #relay