Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anggo Backend

다모앙을 위한 Go 기반 백엔드 API 서버입니다.

요구사항

  • Go 1.24 이상
  • MySQL 5.7 이상
  • Redis (추후 추가 예정)

설치 방법

  1. 저장소 클론
git clone https://github.com/your-username/anggo-backend.git
cd anggo-backend
  1. 의존성 설치
go mod download
  1. 환경 변수 설정 (추후 추가 예정)
cp .env.example .env
# .env 파일을 적절히 수정
  1. 서버 실행
go run cmd/api/main.go

프로젝트 구조

anggo-backend/
├── cmd/                    # 실행 파일
│   └── api/               # API 서버
├── internal/              # 내부 패키지
│   ├── config/           # 설정
│   ├── handlers/         # HTTP 핸들러
│   ├── middleware/       # 미들웨어
│   ├── models/          # 데이터 모델
│   ├── repository/      # 데이터 접근 계층
│   └── services/        # 비즈니스 로직
├── pkg/                  # 공용 패키지
│   ├── database/        # 데이터베이스 연결
│   └── utils/           # 유틸리티 함수
└── api/                  # API 문서
    └── swagger/         # Swagger 문서

API 문서

API 문서는 Swagger를 통해 제공됩니다. 서버 실행 후 다음 URL에서 확인할 수 있습니다:

http://localhost:8080/swagger/index.html

성능 최적화

  • Connection Pooling
  • Redis 캐싱 (추후 구현)
  • 비동기 작업 처리
  • 로드 밸런싱 지원

라이센스

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages