{% extends "templates/_base.html" %} {% block title %}Middlebury Menu API{% endblock %} {% set date = "February 2, 2014" %} {% block styles %} {% endblock styles %} {% block content %}

Updated November 1, 2015

Middlebury Menu API

A REST API for the Middlebury menu

This project is open source. The code can be found at github.com/danasilver/midd-menu-api.

Endpoints

API base url: middmenuapi.herokuapp.com.

Get today's menu.


GET /

Get the menu for yyyy-mm-dd.


GET /yyyy-mm-dd

Try It Out

Enter a date in yyyy-mm-dd format or leave blank to request today's menu.

middmenuapi.herokuapp.com/


Development

Clone the repo and install the npm dependencies

The project also depends on node.js and MongoDB, which you will need to install for development.


$ git clone https://github.com/danasilver/midd-menu-api.git
$ npm install

Start MongoDB and the node.js server


$ mongod &
$ node app.js
{% include "includes/footer.html" %} {% endblock %}