vinitshahdeo/Hackathon-Timer

Use GitHub webhooks

vinitshahdeo opened this issue ยท 14 comments

Set up a webhook to receive events (i.e. new commit, new PR etc.) from organization's repositories.

Please refer this

It'll trigger the notification on the homepage as soon as payload for a particular event is received.

PS - It might need changes in code structure, please feel free to make changes in the codebase. This is just a POC which makes an API call to GitHub periodically and checks the last commit, which is displayed as notification on the homepage.

liaob commented

I'd like to work on this :)

@liaob That's great! Please go ahead ๐Ÿ‘

liaob commented

@vinitshahdeo It looks like in order to add in a webhook, there needs to be some server running the website. It can't be done with just html and javascript.

@liaob Can't we have one NodeJS server running locally as of now, later we can host it in free server hosting provider?

liaob commented

I can include Node in the project and set up a local webhook, sure.

Awesome:)

liaob commented

Sorry, I don't think I can figure it out. If you'd like to give someone else a shot, that's fine with me.

@liaob No problem. Let's see if someone asks for this.

I'll take on the task :)

@hotdang-ca Yes, please go ahead.

PR incoming in a couple hours.

Can u assign this one to me?

Is this repo still active