Skip to main content

Welcome to Refugio Documentation

Learn how to deploy, configure, and use Refugio to manage bed reservations in mountain refuges and hostels with ease.

🏔️

Quick Start

Get Refugio up and running in minutes with our step-by-step guide.

1

Set up your database

Create a PostgreSQL or MySQL database and set up the schema. See the Database Setup guide for detailed instructions.
# Create database
psql -U postgres -c "CREATE DATABASE refugio;"
2

Configure your connection

Edit the database connection settings in conexion.php:
$host = 'localhost';
$dbname = 'refugio';
$user = 'postgres';
$password = 'your_password';
3

Start the server

Launch the PHP development server:
php -S localhost:8000
4

Log in

Access the application at http://localhost:8000 and log in with the default admin credentials:
  • Email: admin@hostel.com
  • Password: admin123
Change these credentials immediately after first login.

Core Features

Explore the powerful features that make Refugio the ideal solution for managing mountain refuge reservations.

Secure Authentication

Role-based access control with bcrypt password hashing and session management

Reservation Management

Complete booking workflow from request to approval with companion support

User Management

Full CRUD operations for managing club members and administrators

Room & Bed Control

Track room occupancy and bed availability in real-time

Interactive Calendar

Visual availability calendar showing free and occupied beds by date

Admin Dashboard

Statistics, metrics, and approval workflows for administrators

User Guides

Step-by-step guides for administrators and members.

Administrator Guide

Learn how to manage users, approve reservations, and configure the system

Member Guide

Discover how to check availability, make reservations, and manage companions

Security Best Practices

Implement security measures for production deployment

Deployment Guide

Deploy Refugio to production with confidence

API Reference

Explore the PHP functions and database schema that power Refugio.

Authentication

User authentication and session management functions

Users

User CRUD operations and search functions

Reservations

Reservation creation, listing, and status management

Rooms

Room and bed availability functions

Companions

Companion management for reservations

Database Schema

Complete database structure and relationships

Ready to get started?

Follow our quickstart guide to set up Refugio in your environment and start managing reservations today.

Start Building