프론트 구조 가이드
일반 사용자 페이지와 API 연동 구조를 점검하기 위한 안내입니다. 라우팅은 루트 index.php가 front/ 하위 파일에 매핑합니다.
페이지 목록
| 경로 |
파일 |
설명 |
| / |
front/index.php |
메인 — 추천 교육, 배너 API 연동 |
| /login |
front/login.php |
로그인 — auth API |
| /signup |
front/signup.php |
회원가입 — auth + signup-terms API |
| /logout |
front/logout.php |
세션 종료 후 홈 이동 |
| /mypage |
front/mypage.php |
마이페이지 — member API (로그인 필수) |
| /education |
front/education/index.php |
교육 목록 — 필터·페이지네이션 |
| /education/view?id=N |
front/education/view.php |
교육 상세 — 개설·상세 안내 |
| /exam |
front/exam/index.php |
시험신청 목록 — 결제 연동 전 |
| /guide |
front/guide.php |
본 가이드 페이지 |
API 목록
| 엔드포인트 |
메서드 |
설명 |
/front/api/auth.php |
GET/POST |
login / register / logout / check |
/front/api/signup-terms.php |
GET |
회원가입 약관 |
/front/api/member.php |
GET/PUT |
내 정보 조회·수정 |
/front/api/educations.php |
GET |
교육 목록·상세 (is_visible=1) |
/front/api/education-categories.php |
GET |
활성 교육 분류 |
/front/api/banners.php |
GET |
배너 (position=main) |
/front/api/boards.php |
GET |
게시판 (기존) |
점검 체크리스트
- 관리자에서 교육 등록 후 프론트 노출 ON → 교육신청 목록 확인
- 회원가입 → 로그인 → 마이페이지 정보 수정
- 교육 상세의 신청 버튼은 추후 신청·결제 연동 예정 (현재 안내 메시지)
- DB 미초기화 시
/_Admin_/init-educations.php?execute=1 실행