gcal-conf-free-api

An express API server that translates Google Calendar ical Free Busy information into a consumable JSON API

Usage no npm install needed!

<script type="module">
  import gcalConfFreeApi from 'https://cdn.skypack.dev/gcal-conf-free-api';
</script>

README

conf-free

A Node.js and Express.js backend designed to query you calendaring server and deliver that data in yummy, yummy JSON to a client side application of your choice.

Using

npm install --save gcal-conf-free-api

var app = require('gcal-conf-free-api').app;

app.use('/', require('express').static(path.join(__dirname, 'public')));

var server = app.listen(Number(process.env.PORT || config.get('ics.port')), function() {
  console.log('NODE_ENV=%s http://%s:%d', app.settings.env, server.address().address, server.address().port);
});

Getting Started

npm install
npm start
npm test

Debugging

DEBUG="gcal-conf-free-api" npm start

API