Database tables on demand
Define a collection via API and unilayer creates the real PostgreSQL table at runtime. Filtering, sorting, paging, field selection, unique indices and relations included.
Open source · Self-hosted · .NET 10
unilayer puts your data, files and users behind one secure API. Create database tables at runtime, store and transform assets, manage permissions – over REST or GraphQL, on your own infrastructure.
The solution
Define a collection via API and unilayer creates the real PostgreSQL table at runtime. Filtering, sorting, paging, field selection, unique indices and relations included.
Upload once, store locally or on S3/MinIO. SHA-256 checksums, versioning, soft-delete – plus on-the-fly image resizing and WebP conversion via URL parameters.
Users, roles and policies managed through the API. Permissions down to a single collection, e.g. collections:shop:orders:read.
Developer experience
The typed .NET client maps your models to collections, syncs the schema and speaks LINQ. Not on .NET? Every collection is instantly available over REST and an auto-generated GraphQL schema.
// 1. Describe your data
[UniCollection("customers")]
public class Customer
{
[UniField("email", IsUnique = true)]
public string Email { get; set; }
[UniField("iban", IsEncrypted = true)]
public string Iban { get; set; }
[UniField("revenue")]
public decimal Revenue { get; set; }
}
// 2. Use it
await client.SyncCollectionSchemaAsync<Customer>();
var vips = await client.Query<Customer>()
.Where(c => c.Revenue > 10000)
.OrderBy(c => c.Email)
.ToListAsync();Production-ready
Cluster mode with Raft leader election. Writes replicate to every node, reads stay local, failover is automatic.
Mandatory TLS and node-to-node mutual TLS, hashed tokens, rate limiting and a least-privilege permission model.
Every schema change is recorded in a system history – exportable, importable, traceable.
Valkey caching with automatic invalidation on writes. Health checks for database, cache and storage.
Why unilayer
SaaS backends are fast to start and hard to leave. unilayer gives you the same speed, but it is open source and runs wherever you want – on-prem, in your cloud, in a single container. No vendor lock-in, no data leaving your network, no per-request pricing surprises. And if we ever disappear, your backend keeps running.
Plans
No paywalls, no locked modules, no "enterprise edition". Cluster mode, encryption and GraphQL are all in the open-source release.
Free
Open source · AGPLv3 / MIT
On request
Directly from the maintainers
Coming later
Fully managed by us