Skip to content

jebaum/calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b09a749 · Dec 13, 2014
Dec 12, 2014
Dec 11, 2014
Dec 13, 2014
Dec 10, 2014
Dec 13, 2014
Oct 29, 2014
Dec 12, 2014
Dec 9, 2014
Dec 7, 2014
Nov 10, 2014
Oct 25, 2014
Oct 25, 2014

Repository files navigation

UCLA CS130 Calendaring + Task Management Application Fall 2014

Components

  • Backend: James
  • Web UI: Braden
  • Terminal/curses UI: Seena
  • Android app/UI: Kevin

Usage

  • Requires apache-ant and apache-ivy for building and fetching dependencies
  • Run ant bootstrap one time only to download ivy and other needed jars
  • Ant build, run, and clean targets do exactly what they sound like
  • Webserver currently listens on port 4567
  • Requires Java 8

API

1. Get event data via HTTP GET

  • GET /events
  • Sample response:
[
  {
    "title"       : "this is my title",
    "location"    : "here i am",
    "description" : "sup",
    "category"    : "important",
    "startTime"   : 1414000000000,
    "endTime"     : 1414005000000
  },
  {
    "title"       : "another title",
    "location"    : "nowhere",
    "description" : "things are weird",
    "category"    : "unimportant",
    "startTime"   : 1414010000000,
    "endTime"     : 1414013000000
  }
]

2. Send event data via HTTP POST

  • POST /events
  • Example usage:
curl --data '[{"title":"lecture","location":"a room","description":"boring","category":"lame","startTime":1414006000000,"endTime":1414009000000}]' 'localhost:4567'