Apinx documentation¶
Apinx is an API gateway with an embedded console, in one binary. It sits between your callers and your backends: it authenticates callers, applies rate limits and quotas, reshapes requests and responses, and shows you what happened to every request.
Choose your path¶
Three routes through the manual. Each one is a short, ordered list; follow it from the top.
See it work¶
About 15 minutes, on your own machine.
- Quick start One command, then a protected API through the wizard.
- Your first API, step by step The same by hand, with the YAML and the commands.
- Architecture What the one binary contains and what it talks to.
- Features and value What you get, and how it compares.
- Benchmarks The measured numbers and how they were taken.
Build an API¶
From your own backend to a published, protected API.
- Connect your own backend Point an API at your service.
- Authentication at a glance Pick how callers prove who they are.
- Policies How rules are bound, merged and ordered.
- Tutorial: a mobile backend A complete example, with its Postman collection.
- Drafts, revisions and deployments Go live, and roll back.
Run it in production¶
Install, secure, watch and upgrade.
- Deploying on Linux systemd, PostgreSQL and nginx on one server.
- Security What protects the gateway, the console and your callers.
- Grafana and other tools Metrics, logs and traces in the tools you run.
- Runbook Backup, restore, outages and health.
- Upgrading A new release, step by step.
How it fits together¶
- Callers present an API key, an access token Apinx issued to their application, a JWT from your identity provider, or nothing for public APIs (Authentication at a glance).
- Backends are your services, or a partner's API that needs its own token; the gateway can obtain that token for them.
- You work in the console or with YAML files; drafts are validated and deployed as immutable revisions, and rolled back the same way (Architecture).
The four kinds of page¶
Every page says what kind it is under its title, so you know what to expect from it.
Tutorial
A lesson you follow from start to finish. Begin with the Quick start.
How-to guide
The steps for one task you already have in mind. They are grouped by subject under Build and Operate.
Concept
How a part of Apinx works, and why. Read these under Learn.
Reference
Every field, policy, error code and screen, to look up. See Reference.
Look something up¶
| I want to know | Go to |
|---|---|
| What a policy does and its settings | Policy reference |
| What an error code means | Error codes |
| The fields of the gateway file | Gateway configuration |
| A configuration to copy and adapt | YAML samples |
| What a word means here | Glossary |
| Why a request was refused | Troubleshooting |