intitial work on rest api

This commit is contained in:
Nabeel Shahzad
2017-08-14 18:26:20 -05:00
parent e19b84a078
commit bc94772ce2
10 changed files with 179 additions and 11 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Response;
use App\Http\Controllers\AppBaseController;
class BaseController extends AppBaseController
{
public function status()
{
return response()->json(
['message' => 'hi'],
200
);
}
}