Skip to content

Commit

Permalink
iniciando o desenvolvimento da api
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanGuimarae3s committed Oct 9, 2023
1 parent ff2096e commit 2f08507
Show file tree
Hide file tree
Showing 40 changed files with 1,368 additions and 0 deletions.
67 changes: 67 additions & 0 deletions app/Http/Controllers/ClientController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php

namespace App\Http\Controllers;

use App\Models\Client;
use App\Http\Controllers\Controller;
use App\Http\Requests\StoreClientRequest;
use App\Http\Requests\UpdateClientRequest;

class ClientController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
//
}

/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*/
public function store(StoreClientRequest $request)
{
//
}

/**
* Display the specified resource.
*/
public function show(Client $client)
{
//
}

/**
* Show the form for editing the specified resource.
*/
public function edit(Client $client)
{
//
}

/**
* Update the specified resource in storage.
*/
public function update(UpdateClientRequest $request, Client $client)
{
//
}

/**
* Remove the specified resource from storage.
*/
public function destroy(Client $client)
{
//
}
}
67 changes: 67 additions & 0 deletions app/Http/Controllers/InstitutionController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php

namespace App\Http\Controllers;

use App\Models\Institution;
use App\Http\Controllers\Controller;
use App\Http\Requests\StoreInstitutionRequest;
use App\Http\Requests\UpdateInstitutionRequest;

class InstitutionController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
//
}

/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*/
public function store(StoreInstitutionRequest $request)
{
//
}

/**
* Display the specified resource.
*/
public function show(Institution $institution)
{
//
}

/**
* Show the form for editing the specified resource.
*/
public function edit(Institution $institution)
{
//
}

/**
* Update the specified resource in storage.
*/
public function update(UpdateInstitutionRequest $request, Institution $institution)
{
//
}

/**
* Remove the specified resource from storage.
*/
public function destroy(Institution $institution)
{
//
}
}
67 changes: 67 additions & 0 deletions app/Http/Controllers/LessonController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php

namespace App\Http\Controllers;

use App\Models\Lesson;
use App\Http\Controllers\Controller;
use App\Http\Requests\StoreLessonRequest;
use App\Http\Requests\UpdateLessonRequest;

class LessonController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
//
}

/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*/
public function store(StoreLessonRequest $request)
{
//
}

/**
* Display the specified resource.
*/
public function show(Lesson $lesson)
{
//
}

/**
* Show the form for editing the specified resource.
*/
public function edit(Lesson $lesson)
{
//
}

/**
* Update the specified resource in storage.
*/
public function update(UpdateLessonRequest $request, Lesson $lesson)
{
//
}

/**
* Remove the specified resource from storage.
*/
public function destroy(Lesson $lesson)
{
//
}
}
67 changes: 67 additions & 0 deletions app/Http/Controllers/SchedulingController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php

namespace App\Http\Controllers;

use App\Models\Scheduling;
use App\Http\Controllers\Controller;
use App\Http\Requests\StoreSchedulingRequest;
use App\Http\Requests\UpdateSchedulingRequest;

class SchedulingController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
//
}

/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*/
public function store(StoreSchedulingRequest $request)
{
//
}

/**
* Display the specified resource.
*/
public function show(Scheduling $scheduling)
{
//
}

/**
* Show the form for editing the specified resource.
*/
public function edit(Scheduling $scheduling)
{
//
}

/**
* Update the specified resource in storage.
*/
public function update(UpdateSchedulingRequest $request, Scheduling $scheduling)
{
//
}

/**
* Remove the specified resource from storage.
*/
public function destroy(Scheduling $scheduling)
{
//
}
}
67 changes: 67 additions & 0 deletions app/Http/Controllers/StudentController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php

namespace App\Http\Controllers;

use App\Models\Student;
use App\Http\Controllers\Controller;
use App\Http\Requests\StoreStudentRequest;
use App\Http\Requests\UpdateStudentRequest;

class StudentController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
//
}

/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*/
public function store(StoreStudentRequest $request)
{
//
}

/**
* Display the specified resource.
*/
public function show(Student $student)
{
//
}

/**
* Show the form for editing the specified resource.
*/
public function edit(Student $student)
{
//
}

/**
* Update the specified resource in storage.
*/
public function update(UpdateStudentRequest $request, Student $student)
{
//
}

/**
* Remove the specified resource from storage.
*/
public function destroy(Student $student)
{
//
}
}
28 changes: 28 additions & 0 deletions app/Http/Requests/StoreClientRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class StoreClientRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return false;
}

/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
//
];
}
}
28 changes: 28 additions & 0 deletions app/Http/Requests/StoreInstitutionRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class StoreInstitutionRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return false;
}

/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
//
];
}
}
Loading

0 comments on commit 2f08507

Please sign in to comment.