Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Hansel-Pan/sistema-de-informacion-web-para-un-gimnasio/llms.txt

Use this file to discover all available pages before exploring further.

This quickstart walks you through cloning the repository, installing dependencies, connecting to a backend API, and opening GymSys in your browser — everything you need to have a fully working local environment in under 10 minutes.
1

Clone the repository

Clone the GymSys source code from GitHub and navigate into the project directory.
git clone https://github.com/Hansel-Pan/sistema-de-informacion-web-para-un-gimnasio.git
cd sistema-de-informacion-web-para-un-gimnasio
2

Install frontend dependencies

Install the Node.js packages required by the React + Vite frontend.
npm install
3

Set up the backend

GymSys requires a compatible REST API server running at http://localhost:3001/api. The base URL is hardcoded in services/api.js:
const API = "http://localhost:3001/api";
Make sure your backend server is started and listening on port 3001 before you launch the frontend. If you are using a different host or port, update the API constant in services/api.js to match.Refer to the backend setup guide for step-by-step instructions on starting the API server.
4

Start the frontend

Launch the Vite development server.
npm run dev
Vite will print a local URL — by default it is http://localhost:5173. Open that address in your browser to see GymSys.

What You’ll See

Once the app loads you will land on the Inicio dashboard. A sidebar on the left provides navigation to all five main sections of the application:
PagePathPurpose
🏠 Inicio/Dashboard with total clients, active memberships, and current occupancy
👥 Clientes/clientesClient list with add, edit, and delete actions
💰 Pagos/pagosPayment log and new payment form
🚪 Control Acceso/accesoRecord client entries and exits; view current occupancy
📊 Reportes/reportesFull client list and occupancy snapshot
Each sidebar link uses React Router’s NavLink with an active CSS class applied to the currently visited page, so you always know where you are in the app.
Start the backend API server before opening the frontend in your browser. GymSys fetches data on page load, so if the backend is not reachable at http://localhost:3001/api the API calls will fail and the pages will appear empty or show an error.
For production deployment and advanced configuration options see Frontend Setup and Backend Setup.

Build docs developers (and LLMs) love