Ackersnacker hilft Landwirten regionale Saisonarbeiter:Innen zu finden und eröffnet neue Einkommensquellen für Bürger:Innen während der Krise, indem wir Landwirte und Bürger:Innen zusammen bringen.
https://www.youtube.com/watch?v=izkkpHKH_qo
https://devpost.com/software/ackersnacker
App: https://github.com/tihrig/ackersnacker
yarn
yarn start-dev
API is running on http://localhost:5000
Creates farm in database of server
payload:
{
"farmName": "WeddingRüben",
"firstName": "Friedrich",
"secondName": "Schneider",
"street": "Müllerstraße",
"streetNumber": 122,
"city": "Berlin",
"place": "13353",
"longitude": 13.361164093017578,
"latitude": 52.54517364501953
}
Creates task in database of server
payload:
{
"farmName": "WeddingRüben",
"id": "3487adb3-7c29-4f4d-53ce-ac211d1be734",
"veggieTitle": "Kartoffeln",
"date": "24.03.2020",
"time": "10-16",
"availableSlots": "9",
"strain": "Schwer",
"transport": "SBahn",
"salary": "14"
}
Query all results for certain value in table
payload:
{ "table": "task",
"attribute": "farmName",
"value": "WeddingRüben"
}
Returns all farms in database
Returns all tasks in database
Deletes all data from DB
Fills DB with 3 default farmes and 2 tasks per farmer