This guide walks you through cloning the InfoJobs DevBoard repository, starting both the Express backend and the React frontend on your machine, verifying the API is working with a live request, and optionally enabling AI-powered job summaries with a locally running Ollama model.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mauroperez055/infoJobs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Make sure the following are installed before you begin:
- Node.js ≥ 18 — required by both the backend and frontend build tooling.
- npm (bundled with Node.js) or pnpm — for installing dependencies.
- Ollama (optional) — only needed if you want to use the AI summary feature. Download it from ollama.com.
Clone the repository
Clone the monorepo and navigate into the main full-stack stage:The
07-inteligencia-artificial directory contains two sub-projects: backend/ (Express API) and frontend/ (React app).Start the backend
Install backend dependencies and start the development server:The API server starts on port 1234 using
nodemon for automatic restarts on file changes. You should see output similar to:Start the frontend
In a separate terminal, install frontend dependencies and launch the Vite dev server:Vite opens the app on port 5173 by default. Visit http://localhost:5173 in your browser to see the job board.
Verify the API
With the backend running, confirm the jobs endpoint is responding:A successful response returns a paginated JSON object. Job fields use Spanish names as stored in You can also filter results using query parameters:
jobs.json:(Optional) Enable AI summaries
To use the AI-powered job summary feature, pull the required model and start Ollama in a dedicated terminal:Ollama runs on
localhost:11434 by default. Once it is running, navigate to any job detail page in the frontend and click ✨ Generar resumen con IA — the summary will stream in real time.The AI endpoint is rate-limited to 5 requests per minute per IP to prevent abuse. If you exceed this limit you will receive a
429 Too Many Requests response and should wait before retrying.Configure the frontend API URL
The frontend reads the backend URL from theVITE_API_URL environment variable. Create a .env file inside the frontend/ directory if the default does not match your setup:
If you are running the backend on the default port 1234, no configuration is needed — the frontend falls back to
http://localhost:1234 automatically. Only set this variable if you changed the port or are running the backend on a remote host..env file, restart the Vite dev server for the change to take effect.
Configure the backend AI model
The backend reads the Ollama model name from theMODEL_AI environment variable, defined in backend/config.js. Create a .env file inside the backend/ directory to override the default:
The default value for
MODEL_AI is mistral/devstral-small-2. The AI route (backend/routes/ai.js) currently hard-codes qwen2.5:3b — set this variable if you want to use a different locally available Ollama model. Any model listed by ollama list can be used here.Next steps
Architecture overview
See how the frontend, Express backend, and Ollama AI layer are wired together.
API Reference
Explore all available endpoints, request schemas, and response formats.