It is commonplace for Federal universities at Brasil to have a big restaurant with cheaper prices made for it's students
However, thanks to bureaucracy and some other problems in most universities the system used for the students account is usually only available at the restaurant. This means every student has to buy their ticket or put their money on their account presencially, causing great queues when students want to buy their tickets or even greater ones when they are entering the eating areas.
This is an Api for a ficticional university restaurant transaction system that i made to train some skills in typescript that aims to solve this problem by creating a online system for the students to buy their tickets at home, reducing the queues to buy tickets or deposit money presencially
Body: { "name" : "main dish name" }
{ "name" : "salad name" }
{ "name" : "accompaniment name" }
{ "name" : "dessert name"}
{
"main_dish" : "valid main dish name",
"salad1" : "valid salad name",
"salad2" : "valid salad name",
"accompaniment" : "valid accompaniment name",
"dessert" : "valid dessert name",
"date" : "valid date name"
}
{
"name":"main dish name",
"chosenDate":"DD/MM/YYYY"
}
{
"chosenDate" : "DD/MM/YYYY,
"name" : "salad name",
"saladOption" : salad option number (1 or 2)
}
{
"name":"accompaniment name",
"chosenDate":"DD/MM/YYYY"
}
{
"name":"dessert name",
"chosenDate":"DD/MM/YYYY"
}
