PitchPro (ArquiMarket) is an end-to-end sports court reservation platform. The backend exposes a JWT-secured REST API for managing courts (canchas) and bookings (reservas), while the React dashboard gives operators a real-time view of system health, court inventory, and recent reservations.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JuanSerna14/Final-lenguaje-Avanzado/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Get the backend and frontend running locally in under 10 minutes.
Architecture
Understand the two-tier project layout, data model, and request flow.
API Reference
Explore every REST endpoint with request/response schemas and examples.
Authentication
Learn how JWT access tokens and refresh tokens work across the stack.
What’s inside
Backend Guide
Set up the Express + TypeScript API, connect PostgreSQL, and seed sample data.
Frontend Guide
Configure the Vite + React dashboard and connect it to the backend API.
Docker Deployment
Run the full stack with Docker Compose — PostgreSQL included.
Environment Variables
Complete reference for every
.env variable in both projects.Key features
Secure authentication
Register and log in with email/password. The API returns a 15-minute access token and a 7-day refresh token stored in PostgreSQL.
Court management
Create and query sports courts with name, description, hourly price, and active status. All writes are validated with Zod schemas.
Conflict-free bookings
Reservations are validated against existing time slots — the API returns
409 Conflict if the court is already booked in that window.