meetups/readme.md

2.5 KiB

meetups

Microservice to cache and expose our upcoming Meetups for use throughout www.bigchaindb.com.

Build Status XO code style Greenkeeper badge

API

Endpoint: https://bigchaindb-meetups.now.sh

GET /

200: Returns all upcoming meetups, e.g.:

[
  {
      created: 1480492250000,
      id: "235925067",
      name: "Privacy on the Blockchain",
      rsvp_limit: 55,
      status: "upcoming",
      time: 1496854800000,
      updated: 1495634541000,
      utc_offset: 7200000,
      waitlist_count: 9,
      yes_rsvp_count: 61,
      venue: {
         id: 24947394,
         name: "BlueYard",
         lat: 52.49262237548828,
         lon: 13.413067817687988,
         repinned: false,
         address_1: "Grimmstraße 13, 10967 ",
         city: "Berlin",
         country: "de",
         localized_country_name: "Germany"
     },
     group: {
         created: 1480330155000,
         name: "BigchainDB & IPDB Meetup",
         id: 21301439,
         join_mode: "open",
         lat: 52.52000045776367,
         lon: 13.380000114440918,
         urlname: "BigchainDB-IPDB-Meetup",
         who: "Members"
     },
     link: "https://www.meetup.com/BigchainDB-IPDB-Meetup/events/235925067/",
     description: ""
     visibility: "public"
 },
 ...
]

Development

Install dependencies:

npm install

And run the server:

npm start

Test

Run the tests:

npm test

Deployment

Deploy to now, make sure to switch to BigchainDB org before deploying:

# first run
now login
now switch

# deploy
now
# switch alias to new deployment, e.g.
now alias bigchaindb-meetups-wxkyissxos bigchaindb-meetups

Authors