Commit 894e156
refactor: restructure to domain-driven architecture
Spring Boot style package organization:
domain/ — business domains (member, shorten, apply, form, recruit, setting)
each with: repository.py, service.py, resolver.py, model.py, types.py
global_/ — cross-cutting (auth, authz, exception)
common/ — shared infrastructure (config, database, tables, repository, id_gen, timezone)
infra/ — external services (email, slack)
graphql/ — API layer (schema, context, convert, errors)
filter/ — generic filter/pagination
Renames: pg_repository→repository, schema→model, resolvers→resolver
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a4354b5 commit 894e156
74 files changed
Lines changed: 147 additions & 143 deletions
File tree
- .idea/codeStyles
- alembic
- src/bcsd_api
- common
- domain
- apply
- form
- member
- recruit
- setting
- shorten
- global_
- authz
- auth
- exception
- graphql
- infra
- email
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments