-
Create a virtualenv and install dependencies:
python -m venv .venvsource .venv/bin/activatepip install -r requirements.txt
-
Run the server:
uvicorn app.main:app --reload
POST /api/job-postings- Request:
{ "url": "...", "title": "...", "body": "..." } - Response:
{ "status": "queued", "jobId": 123 }{ "status": "duplicate", "existingId": 123 }
- Request:
GET /api/job-postings- Response list items:
{ id, companyName, title, postedAt, url, notionUrl, atsScore }
- Response list items:
POST /api/job-postings/{id}/ats- Response:
{ status: "completed", jobId }
- Response:
NOTION_TOKEN: Notion API 토큰NOTION_DATABASE_ID: Notion DB IDRESUME_NOTION_URL: ATS 분석에 사용할 이력서 Notion 페이지 URLGEMINI_API_KEY: Gemini API 키 (Google AI Studio)GEMINI_MODEL: Gemini 모델 (기본gemini-1.5-flash)
.env.example을 복사해.env로 만들고 값을 채우세요.python-dotenv가 자동으로 로드합니다.