Actions
이슈 #253
진행중
CP
JL
8-1. 프로젝트 초기 세팅 (Node.js/Express 또는 FastAPI)
이슈 #253:
8-1. 프로젝트 초기 세팅 (Node.js/Express 또는 FastAPI)
설명
서버 구조. 환경 설정
CP Chris Park이(가) 7달 전에 변경
- 프로젝트을(를) 14에서 Alphea App(으)로 변경되었습니다.
- 목표버전을(를) 6월 중간 버전(으)로 지정되었습니다.
JL James Lee이(가) 7달 전에 변경 · Edited
(이전 댓글 마크다운 재포맷)
Rust + gRPC 프로젝트 초기 세팅 완료¶
기존 Node.js/Express 또는 FastAPI 대신, 레거시 Go 프로젝트 alphea-rpc-next 를 Rust + gRPC 로 포팅하는 방향으로 진행합니다.
-
Repository:
alphea-ai-edge - Commit: commit:server|7ec0a7b — feat: initialize Rust project with gRPC and SystemService
구현 내용¶
- Cargo 프로젝트 초기 구조 생성
- 의존성:
tonic,prost,tokio,tracing,dotenvy,chrono,anyhow
- 의존성:
- Proto 파일 설정 (
proto/alphea/v1/)-
common.proto— 공통 enum 및 message (NodeType, JobType 등) -
system.proto— SystemService 정의
-
-
build.rs를 통한tonic-buildproto 컴파일 파이프라인 - 기본 모듈 구조
-
main.rs— 진입점, tracing 초기화 -
config.rs— 환경 변수 기반 설정 -
server.rs— gRPC 서버 부트스트랩 및 AppState -
handler/system.rs— SystemService 구현
-
-
SystemService 구현 완료
-
HealthRPC — 서버 상태, uptime 반환 -
InfoRPC — 버전, 시작 시간 반환
-
-
CLAUDE.md작성 — 프로젝트 가이드 및 커밋 컨벤션 문서화 -
cargo build성공 확인
다음 단계¶
나머지 10개 서비스 (AuthService, UserService, NodeService, WalletService 등) 를 단계별로 포팅 예정
Actions