Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ out/
.kotlin

### OpenAPI ###
openapi.json
openapi.json

### secrets ###
**/*.env
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# sofia-backend

version: `26b.04.01`

Sofia 2026 시스템의 백엔드 코드입니다.

프로젝트를 구동시키기 위해서는 데이터베이스 연결을 위해 다음 환경변수가 필요합니다.

```bash
SOFIA_DATASOURCE_URL=
SOFIA_DATASOURCE_PASSWORD=
SOFIA_DATASOURCE_USERNAME=
```

최초의 데이터베이스 구성을 위해서는 [init.sql](init.sql)을 사용하세요. 해당 SQL 스크립트는 `./gradlew check`를 실행할 경우 자동으로 프로젝트 엔티티 스펙에 따라 업데이트됩니다. 테스트 코드 중 `SchemaExportTest`가 해당 SQL을 생성하는 것이며, 프로젝트 초기라 복잡도가 높지 않아 Flyway 대신 해당 테스트로 초기화 SQL 생성을 구현했습니다.

// todo: 아키텍처 다이어그램
3 changes: 0 additions & 3 deletions deploy/secrets.env

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ spring:
host: localhost
port: 25
jpa:
properties:
org.hibernate.envers:
audit_table_suffix: _audit
audit_strategy: org.hibernate.envers.strategy.DefaultAuditStrategy
open-in-view: false
hibernate:
ddl-auto: validate
Expand Down
Loading