Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KaungWai committed Jul 27, 2023
2 parents 3a6643c + a42614b commit e29bc58
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 25 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ prisma.schema (database definition), migration history နဲ့ seeding data

### 5. src

အထူးတလည်ပြောနေစရာမလိုတော့ပါဘူး။ အဓိကကျတဲ့ source folder ပါပဲ။ အထဲမှာတော့ ဒီလိုထပ်ခွဲထားပါတယ်။
အဓိကကျတဲ့ source folder ပါပဲ။ အထဲမှာတော့ ဒီလိုထပ်ခွဲထားပါတယ်။

- constants
- handlers - business logic တွေကို ဒီထဲမှာရေးပါတယ်
Expand All @@ -165,3 +165,11 @@ prisma.schema (database definition), migration history နဲ့ seeding data
- utils - business logic မဟုတ်တဲ့ common function တွေကို ဒီထဲမှာရေးပါတယ်

ဒီ project တစ်ခုလုံးရဲ့ entry point က index.ts ပါ။

## Application Layers
<img width="806" alt="image" src="https://github.com/KaungWai/kickstart-fastify/assets/30652148/df50ecb7-1e43-483d-92aa-3326846cec1c">

## Organization of a handler
<img width="752" alt="image" src="https://github.com/KaungWai/kickstart-fastify/assets/30652148/976aa9c1-b857-4e62-93a8-4bdfe0ef9dc9">


48 changes: 24 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e29bc58

Please sign in to comment.