Could you please point where is backend code in your github ?
If you want to send events from your own backend to PostHog, there's instructions for Ruby/Python/Node/API in the docs[0]
actual link : https://github.com/PostHog/posthog/tree/master/posthog