Git inicializacia

This commit is contained in:
Jaroslav Drzik
2019-11-15 11:03:55 +01:00
commit e2f7d8b5c6
93 changed files with 8193 additions and 0 deletions

34
routes/web.php Normal file
View File

@@ -0,0 +1,34 @@
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function () {
return view('welcome');
});
Route::get('/network', function () {
return view('network');
});
Route::get('/temp', function () {
return view('temp');
});
Route::any('/log',"Logging@log");
Route::any('/push',"Push@data");
Route::get('search/autocomplete', 'Search@autocomplete');
Route::post('network/search', 'Network@search');
Route::post('temp/search', 'Temperature@search');
Route::get('csv','Network@csv')->name('csv');
Route::get('csvtemp','Temperature@csv')->name('csvtemp');