ics-service
Simple microservice for creating downloadable .ics
events (work in progress)
GET /event
Query Params
title
- string, event title
description
- string, event description
start
- ISO date string, start date
end
- ISO date string, end date
reminders
- string, event alarms, following shortform time different specification 1 day
, 1d
, 12h
, 3w
, etc (see ms
for more information)
download
- boolean, sets Content-Disposition
header to attachment; filename=${slugifiedTitle}.ics
to enable one-click download
note: use
reminders
parameter multiple times for multiple reminders
... more coming soon
Example
Deploy Locally
Clone the Repo
$ git clone git@github.com:krismuniz/ics-service.git ics-service
Install dependencies
$ npm install
PORT
environment variable (default port is 3000
)
Start the server with a $ PORT=3000 npm start
License
MIT © Kristian Muñiz