Strapi developers: Strapi 5 back ends, headless CMS and business APIs Strapi, well past the admin panel
ANTASY IT (a.it) uses Strapi 5 as the back end of business software, not only as a CMS: the TSS Company ERP, our Facturty billing software and the content of the Damak group’s store run on it. Content types, roles and the admin panel come ready; the business rules live in controllers and services that we write and maintain.
- Version
- Strapi 5
- Language
- TypeScript
- Database
- PostgreSQL
- Hosting
- Self-hosted, on our servers or yours
In production
What do we build with Strapi?
Back ends where data has many types and many people with different rights: an ERP with sales, purchasing, stock and a workshop; a billing product with invoices, stock movements and payments; the catalogue and pages of an online store. In each one, Strapi holds the data model and the permissions, and ANTASY IT’s code holds the business rules.
| System | What Strapi holds | Our custom code |
|---|---|---|
| TSS Company ERP | Clients, companies and vessels; quotes to credit notes; purchasing; stock and serialised equipment; tax certificates; workshop repair orders and their inspection reports | Document totals computed in controllers; stock and balance updates after saving; tax rules, such as refusing a tax-exempt invoice without a valid certificate |
| Facturty (our product) | Clients, suppliers, products and categories; sales and purchase invoices; delivery notes; stock movements; payments; VAT rates; company profile | A scan action that sends a photo of a supplier invoice (JPG, PNG or WebP) to Mistral’s Pixtral vision model and returns its fields as structured data |
| cspddammak.com (Damak group) | The content of the store and of the group’s companies | A Next.js storefront that reads it through the API |
Choosing
When is Strapi the right back end for a business application?
When the application is built around many content types, several roles and an admin panel, and its rules fit in controllers. Strapi is not always the answer. When the logic is mostly transactions across many tables, a dedicated API in NestJS, or plain SQL inside the application, is simpler. ANTASY IT runs all three in production and chooses per project.
- Choose Strapi when
- Administrators manage many kinds of records, rights differ by role and by action, and a ready admin panel saves weeks of screens.
- Choose NestJS when
- The rules are many and complex, access rights are fine-grained, or one API must serve several front ends.
- Choose SQL in the app when
- The product has one front end and its rules are transactions: write, check, update balances, all or nothing.
| Criterion | Strapi 5 | NestJS | Next.js + SQL |
|---|---|---|---|
| Running at | TSS Company ERP, Facturty | Jardin d’Enfants Anous SaaS | SOLARP, at Thyna Solar |
| Admin panel | Ready, generated from the content types | To build | To build, inside the application |
| Roles and rights | Built in, per content type and action | Guards written per module | Checked in each server action |
| Business rules | Controllers, services, lifecycle hooks | Services, with full control | Server actions inside SQL transactions |
| Best for | Many record types managed by administrators | Complex rules and fine-grained rights behind one API | A focused product with one front end |
| Watch out for | Hook order, decimal precision, draft and publish | More code to write and maintain | Everything is yours to write, admin included |
Production
What Strapi 5 taught us in production
Five behaviours of Strapi 5 that cost us time once, on systems we run, and how they are handled now.
- Components saved before hooks
- Strapi 5 stores components, such as the lines of an invoice, before lifecycle hooks run, so a beforeCreate hook only sees references, not the line values. Totals are computed in the controller, which sees the raw request; stock and balances are updated in afterCreate and afterUpdate.
- Two decimals for a three-decimal currency
- Strapi’s decimal fields were created with two decimals on PostgreSQL, so 14.875 dinars was stored as 14.88. A database migration moved every money column to three decimals. A new decimal field would fall back to two, so each one gets its own migration.
- Drafts nobody could see
- On a collection with draft and publish enabled, an entry created from code without asking for the published status stays a draft, invisible to the REST API. Import and seed scripts now publish explicitly.
- documentId, not id
- Strapi 5’s REST API addresses entries by documentId rather than by the numeric id, while relation writes still accept numeric ids. Code written for Strapi 4 breaks on this; ours is written for Strapi 5.
- A missing single type that emptied every list
- A company-settings single type answered 404 on a fresh database, and every screen that loaded it together with other data came back empty. The entry is now created at start-up, and the front end falls back to defaults.
Working with us
How can you hire Strapi developers from ANTASY IT?
In three ways: a fixed-price project built from a written scope; a white-label back end delivered under your agency’s name; or Strapi developers who join your team for a monthly fee and work in your repository. Each time, the developers have modelled, extended and run Strapi 5 in production.
- A fixed-price project
A written scope, an estimate by module, payment by milestone.
- White-label development
A Strapi back end delivered under your agency’s name.
- A dedicated team
Strapi developers inside your team, for a monthly fee.
FAQ
Strapi questions
Strapi or WordPress?
WordPress for a content site with standard features, edited by a team that knows it. Strapi when the content feeds a custom front end or an application: it has no theme, exposes your data through an API and lets you define exactly the content types and rights you need. The front end is then built separately, often with Next.js.
Is Strapi good for SEO?
Strapi does not render pages, so SEO depends on the front end that reads it. With a Next.js front end, pages are rendered on the server with their titles, descriptions and structured data, and search engines read them in full. Strapi’s role is to store the SEO fields that editors fill in, next to the content itself.
Do you self-host Strapi?
Yes. Our Strapi back ends run on Linux servers with PostgreSQL, behind nginx and Cloudflare. Self-hosting keeps the data where you decide and avoids per-seat platform fees. If you prefer Strapi’s own cloud or your own infrastructure, the code stays the same, and the hosting choice is written into the quote.
Can Strapi run an ERP?
It runs one of ours. The TSS Company ERP uses Strapi 5 for sales, purchasing, stock, serialised equipment, vessels, tax certificates and a workshop module. It works because the rules live in controllers and hooks written for them. When rules span many tables in a single transaction, we weigh NestJS or plain SQL instead.
Can you upgrade our Strapi 4 project to Strapi 5?
We build on Strapi 5 today, and Strapi provides an upgrade tool and a migration guide for version 4 projects. Before quoting, we review the content types, plugins, custom code and every front end that calls the API, because changes such as documentId and the new response format reach all of them.
Which database do you use with Strapi?
PostgreSQL, for every Strapi back end we run. It gives real transactions, constraints and exact numeric columns, which business data needs. For amounts in Tunisian dinars, money columns are set to three decimals explicitly, because Strapi’s default decimal fields keep only two and would round the millimes away.
A Strapi back end to build or to take over?
Describe the data, the roles and the rules. We reply with questions, then a written scope.