Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 911 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 911 Bytes

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