API Maker

The backend engine for the AI era

Playlist · 6 videos · 38 min

Migrations, multi-tenant and languages

Database migrations once per environment, one set of APIs with a database per tenant, error messages in every language, and database names masked per account.

The videos of this playlist

  1. 7:171. Migrations

    Database Migrations in TypeScript or Python, Once per Environment

    Changes to your databases that run once in every environment, in order, in the language of your team. Write a migration in TypeScript and one in Python, test it first, run the pending scripts from the dialog or from every deploy, and see what each server remembers. 7 min 11 chapters Episode 32
  2. 5:212. Multi-tenant

    Multi-Tenant APIs: One Set of APIs, a Database per Tenant

    One set of APIs for every customer, each with a database of its own. Keep tenants in a table named by the secret, build a multi-tenant instance with one structure for many databases, pick the tenant by path or header, refuse suspended tenants, and move a tenant with one call. 5 min 10 chapters Episode 33
  3. 4:343. i18n

    Translate API Error Messages into Every Language with One Header

    Every error of your APIs in the language of the person who called them, without one line of translation in your code. Build a French dictionary, see what a dictionary holds, translate the errors of your own custom APIs, and pick the language with one request header. 5 min 9 chapters Episode 34
  4. 3:564. Masking

    Database Name Masking: One Name in Code, Any Database per Developer

    Your code names the production database, while your laptop, your staging server and your teammates have other copies. Database name masking keeps one name in the code and lets each account map it to another database: the same address, every API following the mask, and nothing committed to Git. 4 min 10 chapters Episode 35
  5. 10:055. Six engines

    Import and Export Databases: mongodump, pg_dump, mysqldump and More

    Export a table, a database or a whole instance of MongoDB, PostgreSQL, MySQL, MariaDB, SQL Server or Oracle from the API Maker admin panel, made by the database's own program, and import a file back compared with the database of now, table by table. 10 min 15 chapters Episode 79
  6. 6:526. Every night

    Automatic Database Backups to S3, Encrypted, Restored Table by Table

    Back up MongoDB, PostgreSQL, MySQL, MariaDB, SQL Server and Oracle on schedules into Amazon S3, Cloudflare R2, Backblaze B2 or any store which speaks S3 from the API Maker admin panel: encrypted, kept by your rules, and restored table by table. 7 min 10 chapters Episode 80