Tu backend completo sobre PostgreSQL.

Self-hostealo 100% gratis en tu servidor, o dejanos hostearte la base de datos y el dashboard.

MyPg transforma cualquier tabla de Postgres en una API REST instantánea con autenticación JWT, RBAC, SSE realtime, almacenamiento y un dashboard web moderno.

Terminal
$curl -fsSL https://raw.githubusercontent.com/ggomez0/MyPg/main/install.sh | bash
Listo para usar:
Dashboard: localhost:3000•API: localhost:4000

Velocidad

< 3ms P95

Motor

Postgres 16

Realtime

LISTEN / NOTIFY

Seguridad

RBAC & RLS

Powerful Architecture

Everything your backend needs, powered by Postgres.

Stop rewriting boilerplate authentication, CRUD endpoints, and realtime layers for every new project.

Instant CRUD

Auto-Generated REST API

Every PostgreSQL table immediately becomes an optimized JSON REST endpoint with filtering, deep sorting, pagination, and field projection out of the box.

Next.js 15 UI

Admin Dashboard & Studio

A modern web interface to create collections, manage column types, browse records, run raw SQL queries, and inspect real-time connection status.

Role-Based Access

RBAC & Granular Permissions

Configure Public, User, or Admin access for Create, Read, Update, and Delete actions per collection without writing backend middleware.

Fine-Grained

Row-Level Security (RLS)

Enforce tenant or owner-only data isolation with a single toggle. Authenticated users can only read and mutate rows they created.

Server-Sent Events

Realtime Live Streams

Zero polling. Built directly on PostgreSQL LISTEN/NOTIFY to push instant inserts, updates, and deletes to client frontends via SSE streams.

S3 / MinIO Ready

Integrated File Storage

Upload and manage user avatars, attachments, and assets. Seamlessly switch between local disk storage and production S3 / MinIO buckets.

Prometheus Ready

Telemetry & Live Logs

Built-in `/metrics` endpoint exposing request latency, throughput, error rates, and connection pool status for Grafana and Prometheus monitoring.

Zero Lock-In

Embedded or External Postgres

Run the bundled PostgreSQL 16 container or connect to any existing database from Neon, Supabase, AWS RDS, Google Cloud SQL, or DigitalOcean.

Developer Experience

Write SQL or use auto-generated APIs.

No codegen build steps. No complex ORM sync ceremonies. If it exists in PostgreSQL, it exists in your API.

Request / DefinitionHTTP
GET /api/data/posts?filter[status]=published&sort=created_at:desc&page=1&perPage=2
Authorization: Bearer mypg_jwt_token
X-API-Key: key_live_89b21f92e0
Response / OutputStatus 200 OK
{
  "data": [
    {
      "id": "7b2c01e9-4e7b",
      "title": "Scaling PostgreSQL BaaS to 1M RPS",
      "status": "published",
      "views": 4820,
      "created_at": "2026-10-07T14:22:10Z"
    },
    {
      "id": "99f18a22-120c",
      "title": "Row-Level Security in Practice",
      "status": "published",
      "views": 1940,
      "created_at": "2026-10-07T11:05:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "perPage": 2,
    "total": 42,
    "totalPages": 21
  }
}
Comparativa Directa

¿Self-Hosted o Managed Cloud?

La misma potencia de PostgreSQL y las mismas APIs, adaptadas a cómo preferís trabajar.

Característica
Self-Hosted (Gratis)
Managed Cloud ($5/mes)
Costo de licencia100% Gratis (Open Source)
$5 / mes
Base de DatosPostgreSQL 16 en tu servidor
PostgreSQL 16 administrado y afinado
Dashboard Web GUIIncluido en tu propio contenedor
Hosteado en dominio seguro con SSL
Despliegue1 comando curl o docker-compose
Instantáneo en 1 click
BackupsManuales o vía tus propios scripts
Automáticos diarios y restaurables
Mantenimiento del servidorAdministrado por vos
100% administrado por nosotros
Propiedad de los datosEn tu hardware o VPS privado
Cluster aislado con export pg_dump
Precios Claros

Dos formas simples de usar MyPg

Gratis para siempre si lo corrés en tu servidor, o dejanos la infraestructura a nosotros.

Self-Hosted

100% Free
$0/ para siempre

Descargalo y corré tu propio PostgreSQL, REST API y Dashboard con un solo comando Docker.

  • Código 100% abierto y auditable
  • PostgreSQL 16 + API REST + Dashboard GUI
  • Sin límites de filas, tablas o requests
  • Auth JWT, RBAC y Realtime SSE activos
  • Tus datos en tu propio VPS o bare metal
Managed Cloud

Hosteado por nosotros

Zero DevOps
$5/ mes por proyecto

Nosotros nos encargamos del servidor: PostgreSQL dedicado, Dashboard web en tu dominio y backups diarios.

  • PostgreSQL 16 dedicado y optimizado
  • Dashboard web y API listos en 30 segundos
  • Backups automáticos diarios punto en el tiempo
  • Dominio personalizado con SSL automático
  • Cero mantenimiento de Linux, Docker o parches
Preguntas Frecuentes

Todo lo que necesitás saber

Respuestas directas sobre self-hosting, cloud administrado y arquitectura.

Sí, completamente. Todo el código de MyPg es open source. Podés correrlo en tu propia computadora, VPS o servidor dedicado mediante Docker. No hay límites de tablas, registros, usuarios ni llamadas a la API.
Empezá en 60 Segundos

Elegí cómo querés correr tu backend

Corré el comando de instalación gratis en tu servidor o pedí acceso a Cloud para que hosteemos la base de datos y el dashboard por vos.

¿Querés que lo hosteemos nosotros? Dejanos tu email para acceso anticipado a Cloud