Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion public/note
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@ filter:
https://stackoverflow.com/questions/149055/how-to-format-numbers-as-currency-string
https://www.youtube.com/watch?v=j97QtHf0CHY&t=882s

pagination laravel vue: https://github.com/gilbitron/laravel-vue-pagination
pagination laravel vue: https://github.com/gilbitron/laravel-vue-pagination

https://viblo.asia/p/restful-api-trong-laravel-cho-nguoi-moi-bat-dau-ByEZkNaqKQ0
https://www.youtube.com/watch?v=Na2kVLVGJ4Y&list=PLE_gxCZQDh4-55n7ZoY3vgXUla7IMnVY0
6 changes: 6 additions & 0 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@
Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
});

Route::post('save_student', 'StudentController@save_student');
Route::get('all_students', 'StudentController@all_students');
Route::get('edit_student/{id}', 'StudentController@edit_student');
Route::put('update_student', 'StudentController@update_student');
Route::delete('delete_student/{id}', 'StudentController@delete_student');