Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/devdavco/backend_1/llms.txt

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

CoworkingBooking is a Spring Boot 4 REST API that powers coworking space management — handling spaces (espacios), users (usuarios), and reservations (reservas) backed by PostgreSQL. The API exposes clean JSON endpoints for every CRUD operation and ships with an OpenAPI spec at /api-docs.

Quickstart

Make your first API call and create a reservation in under five minutes.

Configuration

Set up your database, environment variables, and CORS settings.

Data Model

Understand the three core entities: Espacio, Usuario, and Reserva.

API Reference

Full endpoint documentation for all three resources.

What the API provides

CoworkingBooking exposes three resource groups — each with a complete set of HTTP endpoints:

Espacios

Create and manage physical coworking spaces with capacity and cleaning time.

Reservas

Book spaces with start/end timestamps and track reservation status.

Usuarios

Register users and manage access with role-based records.

Get started in three steps

1

Run the server

Clone the repo, configure environment variables, and start the Spring Boot application with ./mvnw spring-boot:run.
2

Create a user and a space

POST to /usuarios/create and /espacios/create to seed the entities you need before making a reservation.
3

Book a space

POST to /reserva/create with the user ID, space ID, and your desired time window. The API returns a full reservation object with status.
The OpenAPI spec is served at /api-docs and an interactive Swagger UI is available at /swagger-ui.html when the server is running.

Build docs developers (and LLMs) love