https://github.com/adumortier/notifications
Sinatra microservice used along with the GardenThat app, allows the app to interact with the Google Calendar API and send user notifications
https://github.com/adumortier/notifications
google-calendar-api microservice sinatra travis-ci
Last synced: 2 months ago
JSON representation
Sinatra microservice used along with the GardenThat app, allows the app to interact with the Google Calendar API and send user notifications
- Host: GitHub
- URL: https://github.com/adumortier/notifications
- Owner: adumortier
- Created: 2020-04-13T00:06:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T10:46:13.000Z (over 3 years ago)
- Last Synced: 2023-03-08T21:17:06.546Z (about 3 years ago)
- Topics: google-calendar-api, microservice, sinatra, travis-ci
- Language: Ruby
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Notification Microservice
This notification microservice is used along with the Gard(in)That app. It allows the app to interact with the Google Calendar API and send notifications to users when they have added plants to their virtual garden.
Gard(in)That app repository:
https://github.com/adumortier/gardenthat
Gard(in)That on Heroku
https://gardenthat.herokuapp.com/
### Notification Microservice Access Points
Retrieve the events from the GardenThatApp calendar:
```sh
GET https://notificationmicroservice.herokuapp.com/events/info?token=&refresh_token=&calendar_name=GardenThatApp
```
Create a new calendar:
```sh
POST https://notificationmicroservice.herokuapp.com/calendar/new?token=&refresh_token=&calendar_name=
```
Create a new event (date format yyyy-mm-dd):
```sh
POST https://notificationmicroservice.herokuapp.com/event/new?token=&refresh_token=&name=&description=&date=
```
Delete an event:
```
DELETE https://notificationmicroservice.herokuapp.com/event/info?token=&refresh_token=&calendar_id=&event_id=
```