Gitea Architecture

Hello everyone,
I’m trying to learn the architecture of Gitea for understanding how it works. I searched websites, GitHub pages forums etc. but I couldn’t find it anywhere. If there is anyone who can help me with this problem, I would be very appreciated.
Yours sincerely.