feat(A1.1): Add Config API endpoint with FastAPI backend

Implements Task A1.1 - Config Sharing JSON API

Features:
- FastAPI backend with 6 endpoints
- Config analyzer with auto-categorization
- Full metadata extraction (24 fields per config)
- Category/tag/type filtering
- Direct config download endpoint
- Render deployment configuration

Endpoints:
- GET / - API information
- GET /api/configs - List all configs (filterable)
- GET /api/configs/{name} - Get specific config
- GET /api/categories - List categories with counts
- GET /api/download/{config_name} - Download config file
- GET /health - Health check

Metadata:
- name, description, type (single-source/unified)
- category (8 auto-detected categories)
- tags (language, domain, tech)
- primary_source (URL/repo)
- max_pages, file_size, last_updated
- download_url (skillseekersweb.com)

Categories:
- web-frameworks (12 configs)
- game-engines (4 configs)
- devops (2 configs)
- css-frameworks (1 config)
- development-tools (1 config)
- gaming (1 config)
- testing (2 configs)
- uncategorized (1 config)

Deployment:
- Configured for Render via render.yaml
- Domain: skillseekersweb.com
- Auto-deploys from main branch

Tests:
-  All endpoints tested locally
-  24 configs discovered and analyzed
-  Filtering works (category/tag/type)
-  Download works for all configs

Issue: #9
Roadmap: FLEXIBLE_ROADMAP.md Task A1.1
This commit is contained in:
yusyus
2025-11-30 13:15:34 +03:00
parent a4e5025dd1
commit 13bcb6beda
7 changed files with 888 additions and 0 deletions

15
render.yaml Normal file
View File

@@ -0,0 +1,15 @@
services:
# Config API Service
- type: web
name: skill-seekers-api
runtime: python
plan: free
buildCommand: pip install -r api/requirements.txt
startCommand: cd api && uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: 3.10
- key: PORT
generateValue: true
healthCheckPath: /health
autoDeploy: true