Note This project is in a
Work In-Progress
phase.
This project utilizes Next.js's built-in API routes to create a serverless API. The API routes are located in the pages/api
directory.
GET
/api/hello
/api/v1/hello
This route is used to test if the API is working. It will return a simple JSON object with a message
property.
POST
/api/v1/github
This route is used to receive GitHub related events. This endpoint handles Discord/Github events/issues/thread events to sync issues and tasks together.
POST
/api/v1/github/webhooks
This route is used to receive GitHub webhooks. It will receive a push
event and then trigger an event on Discord/Github to sync issues together.