xiprox / Dinner-Menu-API

A very simple API for the Dinner Menu app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

A very simple API for the Dinner Menu app

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%