CSV Manager accepts a single CSV file at a time and stores its rows in memory so they become immediately available for real-time search. You can upload a file through the browser-based UI atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/titobrian97/Prueba-tecnica-ts-node---gestion-de-csv/llms.txt
Use this file to discover all available pages before exploring further.
http://localhost:5173 (the default Vite dev-server address) or by calling the POST /api/files endpoint directly. Either way, the backend validates the file, parses every row into a JSON object, and replaces any previously held data with the new upload.
Via the UI
Open CSV Manager in your browser
Navigate to
http://localhost:5173 (the default Vite dev-server address). You will see the CSV MANAGE heading and a file picker — no data has been loaded yet.Select your CSV file
Click Choose File (the
<input type="file" accept=".csv"> element) and pick a .csv file from your local machine. The Subir Archivo button appears as soon as a file is selected.Upload the file
Click Subir Archivo to submit. While the upload is in progress the button label changes to Cargando and both the button and the file picker are disabled to prevent duplicate submissions.
Via the API
You can upload a CSV file directly withcurl (or any HTTP client) by sending a multipart/form-data POST request to POST /api/files. The field name must be file.
200 with the parsed rows and a confirmation message:
data array contains one object per CSV row. Every value is a string regardless of how it looks in the original file (numbers, phone numbers, etc.).
Error Cases
No file provided
No file provided
If the request reaches the server without an attached file, the endpoint returns HTTP Make sure the
500:multipart/form-data field is named exactly file.Wrong MIME type (not text/csv)
Wrong MIME type (not text/csv)
The backend checks Rename and re-save your file as a proper CSV, or ensure your HTTP client sets the correct content type for the part.
file.mimetype and rejects anything that is not text/csv. Uploading a .txt, .xlsx, or any other file type returns HTTP 500:Parsing error
Parsing error
If This usually means the file is malformed — for example, inconsistent column counts or unexpected binary content. See the CSV Format guide for the exact requirements.
convert-csv-to-json throws while processing the raw CSV string, the endpoint returns HTTP 500:Uploading a new CSV file replaces all previously uploaded data in memory. CSV Manager holds only one dataset at a time — there is no append mode. If you need to preserve earlier records, merge them into a single CSV before uploading.