Add API (#606)
This is the first part of the API. It supports most of contacts, as well as the journal. This PR also brings Monica to Laravel 5.5, as the API required it with the new concept of resources. It needs to run `php artisan migrate` as well as `php artisan passport:keys` to generate the access tokens needed for the API.
This commit is contained in:
@@ -397,4 +397,9 @@ class SettingsController extends Controller
|
||||
return redirect('/settings/tags')
|
||||
->with('success', trans('settings.tags_list_delete_success'));
|
||||
}
|
||||
|
||||
public function api()
|
||||
{
|
||||
return view('settings.api.index');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user