mirror of
https://github.com/bigchaindb/meetups.git
synced 2024-12-29 08:07:50 +01:00
2.5 KiB
2.5 KiB
Microservice to cache and expose our upcoming Meetups for use throughout www.bigchaindb.com.
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
- Matthias Kretschmann (@kremalicious) - BigchainDB