Skip to content

dsmwebgeeks/webgeeks-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A microservice to tally up our event attendance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published