/Dinner-Menu-API

A very simple API for the Dinner Menu app

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Dinner Menu

A very simple API for the Dinner Menu app written in Node.js using the Express framework.

Endpoints

Get menu by date

/get?month={month}&year={year}

Type: GET

Parameters:

  • month (Integer, 1-12)
  • year (Integer)

Upload monthly menu

/upload

Type: POST

Body:

  • username (String): Defined in config.js.
  • password (String): Defined in config.js.
  • month (Integer, 1-12)
  • year (Integer)
  • menu (String): Needs to be in JSON format. See example.

License

GPL v3 (See LICENSE)