-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patharchitecture.txt
39 lines (39 loc) · 1.87 KB
/
architecture.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
prisma
├── /migrations prisma migraions
└── /schema.prisma prisma schema
src
├── /components frontend components
├── /context React Context API
├── /pages
├ ├── /api routes layer: api routes
├ └── /*.tsx frontend layer
├
├── /serverless serverless code: api routes
├ ├── /services service layer: business logic
├ ├── /DAOImp Entities DAO implementation
├ ├── /adapters adapter pattern
├ ├ └── /services adapters interfaces for services
├ ├── /infra database handler
├ ├ └── /DAO Data Access Object Pattern
├ ├── /api api layer: controllers
├ ├ ├── /controllers
├ ├── /middlewares
├ ├ └── /helpers controllers helpers
├ ├── /error cusom handle errors
├ ├── /factories make controllers
├ └── /data data access layer: database models and usecases
├ ├── /models database models
├ ├── /prisma prisma access creations
├ └── /usecases usecases protocols
├
├── /styles Chakra UI and CSS configs
├
├── /services Frontend business logic
├
└── /test test suites
├── /bakcend backend tests
├ ├── /api controllers tests
├ ├── /DAO Data persistence tests
├ └── /services helper services tests
├── /general other auxiliary tests
└── /mocks