vinitshahdeo / Hackathon-Timer

A timer for Hackathon with GitHub Live Updates. Made this for VinHack - a hackathon by VinnovateIT
http://githublookbook.com/VinHack/
MIT License
10 stars 19 forks source link

Use GitHub webhooks #1

Open vinitshahdeo opened 4 years ago

vinitshahdeo commented 4 years ago

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 4 years ago

I'd like to work on this :)

vinitshahdeo commented 4 years ago

@liaob That's great! Please go ahead 👍

liaob commented 4 years ago

@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.

vinitshahdeo commented 4 years ago

@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 4 years ago

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

vinitshahdeo commented 4 years ago

Awesome:)

liaob commented 4 years ago

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.

vinitshahdeo commented 4 years ago

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

hotdang-ca commented 4 years ago

I'll take on the task :)

vinitshahdeo commented 4 years ago

@hotdang-ca Yes, please go ahead.

hotdang-ca commented 4 years ago

PR incoming in a couple hours.

vinitshahdeo commented 4 years ago

@hotdang-ca Wow!!

Rajeet10 commented 2 years ago

Can u assign this one to me?

Aradhyapatro commented 1 year ago

Is this repo still active