A simple API that wraps around the cafeteria's menu from ESTGV
// Example response
[
{
"date": "2020-02-03T00:00:00.000Z",
"type": 0,
"sopa": "Alho-Francês",
"carne": "Panadinhos de frango à americana (com bacon) com arroz de",
"peixe": "Solha no forno com batata e alecrim",
"dieta": "Carne de vaca cozida com couve e batata",
"vegetariano": "Fusili gratinado com cogumelos e legumes em juliana"
},
{
"date": "2020-02-03T00:00:00.000Z",
"type": 1,
"sopa": "Macedónia",
"carne": "Chili de carne vaca com arroz",
"peixe": "Carapauzinhos fritos C/ arroz de tomate",
"dieta": "Pescada assada ao natural com brócolos",
"vegetariano": "Legumes salteados à Brás"
}
]
- Clean project
$ npm run clean
- Install dependencies
$ npm install
- Run development app
$ npm run dev
- Clean project
$ npm run clean
- Install dependencies
$ npm install
- Build JavaScript
$ npm run build
- Run a clean install
$ npm clean-install --only=production
As you can see in config.env, some things are required for this server to work.
-
🌐 Zamzar API Key - read more about Zamzar
-
🚧 API URL - should be changed according to prod or dev environment
:heavyexclamation_mark: This are all Node.js environment variables. While in _production the config.env will NOT be loaded, therefore this variables should be set at environment.