Commit d970cae8 authored by Mohammad Javad Ghasemy's avatar Mohammad Javad Ghasemy 🦈

Routes

parent ee034f1d
......@@ -14,6 +14,6 @@ use Illuminate\Support\Facades\Route;
|
*/
Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
});
Route::apiResource('books', 'Api\BookController');
Route::get('/book/search_book_by_isbn/{ISBN}', "Api\SearchBookByIsbn");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment