node api to build weekly menu
npm start
npm test
npm run help
: list cli commandsnpm run generate
: generates the menu for the current weeknpm run add --category <category> --name <name>
: adds a dish to the database
- POST
/menu
: generates menu for the current week - GET
/menu
: returns current week menu - PUT
/menu/replace/{slot}
: replaces the dish for the specified slot (weekdays for now) - POST
/dish
: creates a dish to be included in the menu