1
0
mirror of https://github.com/bigchaindb/meetups.git synced 2024-11-25 11:28:37 +01:00
🤖 Microservice to cache and expose our upcoming Meetups. Beep boop.
Go to file
2018-02-14 06:21:19 +00:00
media 💫 initial commit 2017-05-29 14:28:41 +02:00
test 💫 initial commit 2017-05-29 14:28:41 +02:00
.editorconfig 💫 initial commit 2017-05-29 14:28:41 +02:00
.gitignore 💫 initial commit 2017-05-29 14:28:41 +02:00
.travis.yml 💫 initial commit 2017-05-29 14:28:41 +02:00
index.js 💫 initial commit 2017-05-29 14:28:41 +02:00
license.md 💫 initial commit 2017-05-29 14:28:41 +02:00
package.json chore(package): update xo to version 0.20.0 2018-02-14 06:21:19 +00:00
readme.md fix config namespace, simplify alias after deployment 2017-06-07 16:39:09 +02:00

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
now alias

Authors