The ProyectoDocker backend exposes a REST API built with Express.js. You can use it to retrieve CV data stored in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jperez77775/ProyectoDocker/llms.txt
Use this file to discover all available pages before exploring further.
cv_db MySQL database. The API runs on port 4000 and is consumed by the React frontend, but you can also call it directly with any HTTP client.
Base URL
Authentication
No authentication is required. All endpoints are publicly accessible.Headers
The API sets the following response header on all successful responses:CORS
CORS is enabled for all origins viaapp.use(cors()). You can call this API from any browser origin without additional configuration.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /cv | Returns full CV data (persona + formacion) |
Service availability during startup
During Docker startup, the backend may be ready before MySQL has finished initializing. If you call any endpoint while This is expected behavior. The backend retries the database connection automatically every 5 seconds. The frontend also retries automatically every 3 seconds until the API responds successfully.
db is null or while a connection attempt is in progress (isConnecting is true), the API returns HTTP 503 with the following body: