Initial commit: Laravel GPS API scaffolding

This commit is contained in:
2025-08-28 17:51:16 +10:00
commit 4069b09e3b
4 changed files with 130 additions and 0 deletions

6
routes/api.php Normal file
View File

@@ -0,0 +1,6 @@
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\GpsController;
Route::post('/gps', [GpsController::class, 'store']);
Route::get('/gps/latest', [GpsController::class, 'latest']);
Route::get('/gps/track', [GpsController::class, 'track']);