18 lines
336 B
Python
18 lines
336 B
Python
"""
|
|
LinkSyncServer - Main Application
|
|
"""
|
|
|
|
from fastapi import FastAPI
|
|
from routes import router as api_router
|
|
|
|
app = FastAPI(
|
|
title="LinkSyncServer",
|
|
description="Self-hosted bookmark server with collections",
|
|
version="1.0.0",
|
|
)
|
|
|
|
app.include_router(api_router)
|
|
|
|
@app.get("/health")
|
|
def health():
|
|
return {"status": "ok"} |