From c258ef5941430f71cd28d9b785e0577785abecdf Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 10 Feb 2024 05:47:53 +0000 Subject: [PATCH] feat: Add basic structure for models, controllers, --- app | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 app diff --git a/app b/app new file mode 100644 index 0000000..f375e0b --- /dev/null +++ b/app @@ -0,0 +1,75 @@ +// app/Models/Example.php +json($examples); + } + + public function store(Request $request) + { + $example = Example::create($request->all()); + return response()->json($example, 201); + } +} + +// app/Policies/ExamplePolicy.php +