How I Structure my Backend Code #shorts

preview_player
Показать описание
🌎 Follow me here:
Рекомендации по теме
Комментарии
Автор

Mine is also pretty similar but I also use Prisma to take care of the migrations, seeding, and type-safe ORMs along with that I also have a <module_name>validation.ts file in a module, and validation is done by JOI and it scales well.

shehrry_
Автор

I think your service should be called repository and controller should be a service, this is the correct naming for this kind od things in backend development

raygan
Автор

isnt service the one that should have business logic ?

testvb
Автор

I take the same approach with FE code tbh.

semyaza
Автор

Wtf is the difference between model and schema?

timelimitexceeded
Автор

could you please do a docker tutorial for nextjs

yoman
Автор

how do you do this structure with T3 app

namesarefools
Автор

Can you share a sample working repo for this please?

norbertocammayo
Автор

How is your experience using Caddy as compared to nginx?

failist
Автор

Do you have any project video on your channel, which uses this folder structure?

jaycodes