♻️ (user) separate http and internal service

make branch folder between http and internal service, witche http service for serve request from controller and internal
service serve request from another service
This commit is contained in:
Rafi Arrafif
2025-07-17 11:06:04 +07:00
parent 8bcde5518a
commit ea96d160bd
8 changed files with 608 additions and 722 deletions

View File

@ -1,8 +1,8 @@
import { Context } from "elysia";
import { createUserViaRegisterSchema } from "../schemas/createUserViaRegister.schema";
import { mainErrorHandler } from "../../../helpers/error/handler";
import { createUserViaRegisterService } from "../services/createUserViaRegister.service";
import { returnWriteResponse } from "../../../helpers/callback/httpResponse";
import { createUserViaRegisterService } from "../services/http/createUserViaRegister.service";
export const createUserViaRegisterController = async (ctx: Context) => {
try {

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 113 KiB