api : add api

Deskripsi:
- add gorup
- add position
- village

No issue
This commit is contained in:
lukman
2024-07-25 16:43:13 +08:00
parent 404734c8f6
commit 3af192313a
33 changed files with 670 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
import { apiGroup } from "@/module/group";
export async function GET(req: Request) {
return apiGroup(req, "GET")
}

View File

@@ -0,0 +1,5 @@
import { apiGroup } from "@/module/group";
export async function POST(req: Request) {
return apiGroup(req, "POST")
}