Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.06 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.06 KB

Web Geeks Event Count

This is a microservice built to query the DSM Web Geeks Eventbrite account for attendance numbers.

Usage

Pass a valid Eventbrite eventUrl for a Web Geeks event as a query param:

?eventUrl=https://www.eventbrite.com/e/blockchain-with-dave-wakeman-an-ibm-blockchain-tech-tickets-49409159125

And receive a JSON response:

{
  "sold": 35,
  "total": 50
}

Development

Create a now-secrets.json file with an Eventbrite API auth token from the DSM Web Geeks account:

{
  "@eventbrite-oauth-token": "AUTHTOKEN"
}

With Node >= v10:

yarn
yarn dev

Deployment

This site is automatically deployed to Now via Github.

  • All pushes to branches will be deployed to a unique staging URL
  • All pushes to master will be deployed and aliased to https://webgeeks-count.now.sh

Deploying manually

Be sure you have an account with the DSM Web Geeks Zeit team:

now switch dsmwebgeeks
now