Connect a database. Get every API. Add your logic.
API Maker connects to your databases and gives every table secure REST APIs at once : 17 per MongoDB collection, 14 per SQL table. You add your own TypeScript in custom APIs, hooks, schedulers and events. Caching, access control, logging, monitoring and Git deployment are built in, and it all runs on your own servers.
Start here¶
- Install API Maker On a blank Ubuntu server, one command installs everything : Install on a server. On your laptop, the API Maker Local Run desktop app runs API Maker and its databases in Docker.
curl -fsSL https://apimaker.dev/v1/install.sh > install.sh && bash install.sh --default --version=latest --license_key=YOUR_KEY - Connect a database Put the connection string in the default secret and add an instance. Every table of it gets its APIs right away. A new account even comes with a sample shop : instance, schemas, custom APIs and hooks to read.
- Call an API Get a token of the API user with the token API, send it in
x-am-authorization, and read your data : Your first API walks through it with curl. - Add your logic Write custom APIs, hooks, schedulers and events in TypeScript, with the global object
gto reach every API of API Maker from your code. - Secure and ship Groups decide which APIs, tables and fields each application may use, the security report finds the gaps, and a Git pull is the deployment.
Find your way¶
What you get with every table¶
Schema APIs /api/schema |
Generated APIs /api/gen |
|
|---|---|---|
| Read | get all, get all by stream, get by id, query, query by stream, count, distinct, distinct with query, aggregate (MongoDB) | the same |
| Write | save single or multiple, master save, update by id, update many, replace by id (MongoDB), array operations (MongoDB), remove by id, remove by query | the same |
| Applies the schema | types, validations, conversions, defaults, ids, encryption, concurrency control | no : data passes as it is |
| Filters | find with $in, $gt, $like, $regex, $and, $or… and find and join across tables |
the same |
| Related data | deep populate across tables, databases and instances | the same |
| Output | JSON, XML, YAML, text, any key case, flat objects, encrypted : headers | the same |
Every one of them can run pre and post hooks, be cached, be logged, send WebSocket notifications and emit events.
Supported databases¶
MongoDB · MySQL · MariaDB · PostgreSQL · Microsoft SQL Server · Oracle Database · TiDB · Percona XtraDB, in one account at the same time, with queries and deep populate across them. The connection string pages show the format for each one.
Watch¶
More on the Learn API Maker playlist.
Stay in touch¶
Twitter · LinkedIn · YouTube · report a problem at API Maker Planning · write to [email protected].