DEV Community

Cover image for API PLATFORM - a framework to build modern API
Tomek Poniatowicz for GraphQL Editor

Posted on • Originally published at

API PLATFORM - a framework to build modern API

Downloading, modifying, uploading, in general exchanging data is fundamental for modern apps. Using API (defined set of rules how apps can communicate with each other) is the most popular way of setting up a communication system between external systems.

What makes a good API?

First of all, it needs to be easily understandable and legible for all its potential users. A decent API should have well-documented examples and do not leave any room for guessing. There is a solution that comes in handy if you want to create a solid API, it's a tool called the API Platform.

API Platform

API Platform is a set of tools that combined build a next-generation REST and GraphQL framework to build modern API. The server API Platform is built on top of enterprise-proven solutions:

  • Server-side - Symfony 4 microframework and the Doctrine ORM.
  • Client-side - we have an option to choose between ReactJS & Vue.js for the web and React Native for mobile.
  • Development & deployment environments - Docker, Kubernetes, and Helm.

All that powers the modules responsible for API creation, schema generation, admin panel & client generation:

  • API Platform Core Library - a highly flexibly, stacked with cool features core library allowing you to build fully-featured REST or GraphQL API in minutes.

  • The Schema Generator - a CLI tool that instantly generates a PHP data model from the vocabulary allowing ORM to create corresponding tables.

  • API Platform Admin - a tool to automatically adds a React-based admin interface to your API, all that without writing a single line of code.

  • API Platform Client Generator - the fastest way to scaffold fully-featured web apps (powered by React or Vue.js) or native mobile apps (based on React Native).

API Platform layers


Platform API looks very promising as an all-in-one solution for modern projectsand it's worth taking a closer look. The wide range of microservices offered by API Platform might come in handy for many developers. I'm pretty sure that deeper dive into all its features and using what best it has to offer like data validation, pagination, hypermedia or GraphQL support, and many more can result in a significant productivity boost!

Want to speed up your GraphQL schema development?

GraphQL Editor is a supportive tool for both advanced GraphQL users as well as those taking their first steps with GraphQL APIs. Our all-in-one development environment for GraphQL will help you build, manage & deploy your GraphQL API much faster. Try GraphQL Editor for free!

GraphQL Editor

Top comments (0)