feat: initialiser le projet CVP (Next.js 14 + FastAPI + PostgreSQL)

- Frontend : Next.js 14 App Router, TypeScript strict, Tailwind 3, shadcn/ui, next-intl (fr/en)
- Backend : FastAPI, SQLAlchemy 2 async, Alembic, Pydantic 2, Python 3.11
- Infrastructure : Docker Compose (PostgreSQL 16 + Ollama)
- Tooling : ESLint + Prettier (frontend), Ruff (backend), pytest
- Structure complète des dossiers avec pages et routers placeholder
This commit is contained in:
2026-04-13 15:28:01 +02:00
parent 513251f004
commit f1d5882596
68 changed files with 8606 additions and 0 deletions
View File
+8
View File
@@ -0,0 +1,8 @@
from typing import Annotated
from fastapi import Depends
from sqlalchemy.ext.asyncio import AsyncSession
from app.db.database import get_db
DbSession = Annotated[AsyncSession, Depends(get_db)]
View File
+3
View File
@@ -0,0 +1,3 @@
from fastapi import APIRouter
router = APIRouter(prefix="/candidatures", tags=["candidatures"])
+3
View File
@@ -0,0 +1,3 @@
from fastapi import APIRouter
router = APIRouter(prefix="/cv", tags=["cv"])
+3
View File
@@ -0,0 +1,3 @@
from fastapi import APIRouter
router = APIRouter(prefix="/offres", tags=["offres"])
+3
View File
@@ -0,0 +1,3 @@
from fastapi import APIRouter
router = APIRouter(prefix="/parametres", tags=["parametres"])
+3
View File
@@ -0,0 +1,3 @@
from fastapi import APIRouter
router = APIRouter(prefix="/profil", tags=["profil"])