SearchJobs runs as two containerized services — a Spring Boot backend and a MySQL database — orchestrated with Docker Compose. This guide takes you from zero to a running instance and walks you through registering your first account.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Esteban-Mendez-j/Proyecto-Docker/llms.txt
Use this file to discover all available pages before exploring further.
Install prerequisites
You need Docker and Docker Compose installed on your machine. No other runtime is required to run the platform.
- Docker Desktop (includes Docker Compose on macOS and Windows)
- On Linux, install the Docker Engine and the Compose plugin separately
Node.js (for local frontend development) and Java 21 (for local backend development) are only needed if you intend to run services outside of Docker.
Configure environment variables
The backend service reads configuration from a Populate
.env file in the project root. Create it before starting the stack:.env with the values for your environment. All variables listed here are required:MongoDB is not included in the Docker Compose file. You must provide your own MongoDB instance, either a free MongoDB Atlas cluster or a locally running
mongod. Update MONGODB_URI accordingly.Build and start the stack
From the project root, run:Docker will build the Spring Boot image from Wait until you see the Spring Boot startup banner and a line similar to
./Proyecto_backup/Dockerfile and pull the official mysql:8.0 image. On the first run this can take a few minutes.Check that both services are healthy:Started ProyectoApplication in X seconds in the backend logs before proceeding.Start the React frontend
The React frontend is not included in the Docker Compose file and must be run separately during development:Vite starts a dev server at
http://localhost:5173 by default.Make sure
URL_FRONTEND=http://localhost:5173 in your .env so the backend’s CORS policy and WebSocket allowed origins include the Vite dev server.Access the application
| Service | URL |
|---|---|
| React frontend (Vite dev) | http://localhost:5173 |
| Spring Boot API | http://localhost:8080 |
| Swagger UI (API docs) | http://localhost:8080/swagger-ui/index.html |
| MySQL | localhost:3306 (database: mydb) |
Register your first account
Navigate to
http://localhost:5173/registro. SearchJobs offers two account types:Candidate — browse and apply to job vacancies, build a professional profile, upload a PDF CV, and chat with companies.Company — post job vacancies (with optional video), review ranked applicants, manage the selection pipeline, and chat with candidates.Select your account type and complete the registration form. After registering, log in at /login using your email and password.The login endpoint is
POST /api/usuarios/login on the backend. Credentials are submitted as application/x-www-form-urlencoded. On success the backend returns a JWT stored as a session cookie for subsequent requests.Useful commands
Architecture
Understand how the frontend, backend, and databases fit together
API reference
Explore authentication and all available REST endpoints