add monthly rainfalls

This commit is contained in:
Romulus21
2024-03-09 15:33:23 +01:00
parent 7244cd7be4
commit 77412774c8
9 changed files with 100 additions and 130 deletions

View File

@@ -28,6 +28,7 @@ Route::middleware('auth:sanctum')->group(function () {
Route::post('/locations', [LocationController::class, 'store'])->name('location.store');
Route::get('/rainfalls/last-months', [RainfallController::class, 'lastMonths'])->name('rainfalls.last');
Route::get('/rainfalls/last', [RainfallController::class, 'lastRainfalls'])->name('rainfalls.last');
Route::get('/rainfalls/graph', [RainfallController::class, 'graphValue'])->name('rainfalls.graph');