The Estructuras Backend API is a RESTful service that powers real estate property listing platforms. It provides endpoints for user authentication and full property management — allowing clients to list, filter, create, and manage properties by type and availability status.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nelrondon/backend-proyecto-estructuras/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Get the server running and make your first API call in minutes
Configuration
Set up environment variables, database, and CORS origins
Authentication
Learn how JWT cookies work and how to authenticate requests
API Reference
Explore every endpoint with request/response details
What’s in the API
The API exposes two main resource groups — users (auth) and properties — mounted under the/api base path.
User Auth
Register, login, logout, and verify JWT tokens via HTTP-only cookies
Property Listings
Create and query properties with type and status filters
Validation
All inputs are validated with Zod schemas before hitting the database
Getting Started
Configure environment variables
Create a
.env file at the project root with your Turso database credentials and JWT secret..env
Start the server
Run the development server with file-watching enabled.The server starts at
http://localhost:3000.The API uses HTTP-only cookies for token storage. Make sure your HTTP client is configured to send and receive cookies (e.g.,
curl -c cookies.txt -b cookies.txt or credentials: 'include' in fetch).