JobSpy/main.py

17 lines
370 B
Python

from fastapi import FastAPI
from supabase_py import create_client, Client
from api import router as api_router
app = FastAPI(
title="JobSpy Backend",
description="Endpoints for job board scrapers",
version="1.0.0",
)
app.include_router(api_router)
@app.get("/", tags=["health"])
async def health_check():
return {"message": "JobSpy ready to scrape"}