Integrations
Strapi generates an API for you to access your content. But how can you connect a React, Ruby, Gatsby application to it? It is important to know what is an API.
What is an API?
API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. In case you want to connect a React application with Strapi, we say that React is the client and Strapi the system. Indeed, React will communicate to Strapi, by making HTTP requests. Strapi will then give a response back to your client.
If your Strapi application contains restaurants and you want to list them in your React application, all you need to do is to make an HTTP request to Strapi which will take care to give you a response containing your restaurants.
The API Endpoints documentation will give you all the keys in hand to interact with your Strapi API.
Get started
Today, any programming language has an HTTP client allowing you to execute requests to an API and therefore interact with it. Javascript has Axios (opens new window), Fetch (opens new window), Ruby has Faraday (opens new window), HTTParty (opens new window), Python has Requests (opens new window) etc…
Integrate Strapi with a multitude of frameworks, frontend or backend programming languages just below.
[
React
Consume your API with React
[
Vue.js
Consume your API with Vue.js
[
Angular
Consume your API with Angular
[
Next.js
Consume your API with Next.js
[
Nuxt.js
Consume your API with Nuxt.js
[
GraphQL
Get started with GraphQL
[
Gatsby
Consume your API with Gatsby
[
Gridsome
Consume your API with Gridsome
[
Jekyll
Consume your API with Jekyll
[
11ty
Consume your API with 11ty
[
Svelte
Consume your API with Svelte
[
Sapper
Consume your API with Sapper
[
Ruby
Consume your API with Ruby
[
Python
Consume your API with Python
[
Dart
Consume your API with Dart
[
Flutter
Consume your API with Flutter
[
Go
Consume your API with Go
[
PHP
Consume your API with PHP