Skip to main content
Every registered user has a profile page that shows their display name, bio, avatar, and a link to all the recipes they have shared.

What a profile contains

FieldDescriptionLimit
nombreDisplay name shown across the site30 characters max
sobre_miA short personal bio300 characters max
avatar_urlURL to the user’s profile photoOptional
is_adminWhether the user has administrator privilegesSet internally
bloqueadoWhether the account is blocked by an administratorSet by admins

Viewing a profile

Profile pages are available at /perfilUsuario/[id], where [id] is the user’s unique identifier. To access your own profile, navigate to /perfilUsuario/me. The server resolves me to your authenticated user ID automatically. The profile page shows:
  • The user’s avatar
  • Their display name
  • Their Sobre mí bio
  • A Lista de recetas button that links to all their public recipes
If a profile belongs to a blocked user, a red notice banner is shown at the top of the page indicating the account is currently blocked.

Editing your profile

When you view your own profile, an Editar perfil button appears. Click it to open the edit form.
1

Update your avatar

Click the file input under Foto de perfil to select a new image from your device. Your current avatar is shown as a preview. Leave this field empty to keep your existing photo.
2

Update your display name

Edit the Nombre field. This name appears on your recipes and anywhere the platform references you. It cannot be blank and must not exceed 30 characters.
3

Update your bio

Edit the Sobre mí text area. Write a short description about yourself. This field is optional and is limited to 300 characters.
4

Save changes

Click Guardar cambios. Your profile is updated immediately. Click Cancelar to discard any changes.

Validation rules

The following rules apply when saving profile changes:
  • Nombre cannot be blank or contain only spaces.
  • Nombre must not exceed 30 characters.
  • Sobre mí must not exceed 300 characters.

Viewing a user’s recipes

On any profile page, click Lista de recetas to see all the recipes that user has shared. This navigates to /listaRecetas?userId=[id] and displays the user’s public recipes in the same card grid used on the home page. If the user has not uploaded any recipes yet, a message indicates that their list is empty.

Admin and blocked status

Users with is_admin = true have elevated privileges across the site:Admin status is assigned directly in the database and cannot be self-assigned.

Admin controls on profile pages

When an admin views another user’s profile, a Banear usuario button appears (or Desbloquear usuario if the account is already blocked). Clicking the button shows a confirmation dialog before the status changes.
Admins cannot block their own account. The block/unblock button only appears when viewing another user’s profile.

Build docs developers (and LLMs) love