Add backend/frontend scaffolding with Oracle ADB wallet config
- Backend: Spring Boot 3 + WebFlux, JWT auth, Oracle ADB wallet, 8 controllers/services/repositories (Auth~Tag), DTOs, exception handling - Frontend: Next.js 15, TypeScript, Tailwind CSS, AuthContext, 7 pages (dashboard, knowledge, chat, study, todos, habits, login) - DB: V1 migration with 12 tables including VECTOR(1024) + HNSW index - Ops: PM2 ecosystem config, deploy.sh, start-backend.sh - CLAUDE.md: DB credentials replaced with env var references Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
11
CLAUDE.md
11
CLAUDE.md
@@ -23,14 +23,15 @@
|
||||
|
||||
# DB 접속 (Oracle Autonomous DB - SQLcl)
|
||||
|
||||
- 환경변수 파일: `/Users/joungminko/devkit/account_manager/.env`
|
||||
- SQLcl 실행:
|
||||
- 환경변수 파일: `.env` (프로젝트 루트)
|
||||
- SQLcl 실행 (DB 작업은 반드시 SQLcl을 통해 수행):
|
||||
```bash
|
||||
export JAVA_HOME=/opt/homebrew/Cellar/openjdk/25.0.2/libexec/openjdk.jdk/Contents/Home
|
||||
export TNS_ADMIN=/Users/joungminko/devkit/db_conn/Wallet_WKW7PT1B3PIK6DTI
|
||||
/opt/homebrew/Caskroom/sqlcl/25.4.2.044.1837/sqlcl/bin/sql admin/Dhfkzmf#12345@wkw7pt1b3pik6dti_medium
|
||||
# .env에서 ORACLE_WALLET_PATH, ORACLE_TNS_NAME, ORACLE_USERNAME, ORACLE_PASSWORD 참조
|
||||
set -a && source .env && set +a
|
||||
sql ${ORACLE_USERNAME}/${ORACLE_PASSWORD}@${ORACLE_TNS_NAME}?TNS_ADMIN=${ORACLE_WALLET_PATH}
|
||||
```
|
||||
- DDL 변경이 필요하면 SQLcl로 직접 ALTER TABLE 실행할 것
|
||||
- 테이블 생성/변경 등 모든 DB 스키마 작업은 SQLcl을 통해 수행
|
||||
|
||||
# 코드 설계 원칙
|
||||
|
||||
|
||||
Reference in New Issue
Block a user