Strapi is an open-source Node.js headless CMS built on top of Koa. It's frontend-agnostic and claims to not be an MVC framework. It auto-generate RESTful endpoints and has support for GraphQL and WebSockets.
Questions tagged [strapi]
2734 questions
5
votes
1 answer
Strapi + Cloud SQL for MySQL on Google App Engine - Server wasn't able to start properly Error: getaddrinfo EAI_AGAIN
I'm trying to start my Strapi app into Google App Engine, I did deployed successfully, but I keep getting this error on the logs:
Server wasn't able to start properly
Error: getaddrinfo EAI_AGAIN /cloudsql/connectionName
Error Log:
I followed the…

David Reyes
- 63
- 5
5
votes
2 answers
Strapi & Gatsby image issue
I have been following these steps: https://github.com/strapi/gatsby-source-strapi
Since image >> publicURL also didn't work, I have reinstalled the newest version gatsby-source-strapi, in order to be able to get publicURL. This goes throug a local…

Katharina Schreiber
- 1,187
- 2
- 11
- 38
5
votes
2 answers
Strapi: Get all nested properties for deeply nested relation
I recently started working with strapi and have been figuring out how to go about content relations and so on... Now I have reached a point when I have multiple content relations dependent on each other.
This is my strucute:
Collection…

Adam Schwarcz
- 437
- 1
- 4
- 14
5
votes
4 answers
Change Primary Color in Strapi?
I would like to change the primary color of Strapi.
I have already tried a few things, for example I was already in the Node_Modules under strapi-admin and looked at all the files there. Unfortunately without success.
I also looked at the following…

Denis
- 59
- 1
- 7
5
votes
2 answers
Is there a way to get a structure of a Strapi CMS Content Type?
A content-type "Product" having the following fields:
string title
int qty
string description
double price
Is there an API endpoint to retrieve the structure or schema of the "Product" content-type as opposed to getting the values?
For example: On…

junerockwell
- 838
- 1
- 9
- 29
5
votes
0 answers
Unable to fetch component data using Graphql in Strapi
I am building Graphql api with Strapi. It's a simple application which user can signup and save some of his/her information. I have two tables for that, User [Which is Strapi provided] and Profile which i use to store user additional information.…

july77
- 673
- 2
- 8
- 24
5
votes
1 answer
Strapi upload to local private path
I'm using Strapi with local upload provider.
Whenever I upload a file, it is stored under the "public/uploads" folder locally, which is public.
Meaning that anyone with the file id, could download it eg.…

letimome
- 906
- 2
- 9
- 21
5
votes
3 answers
How to delete a Collection Type?
I created a collection type in the Strapi admin panel and now I want to delete it, but I don't see an option anywhere in the admin panel to do so. I must be missing something obvious, right?

Ryan Biwer
- 324
- 4
- 14
5
votes
2 answers
Can Strapi be deployed through Amazon Lightsail?
So far I have set up a mySQL server on Amazon lightsail and have succesfully used it while running strapi locally. How do I deploy Strapi itself on lightsail and get a link to access it through a browser?
I have read through…

Cris
- 209
- 2
- 10
5
votes
3 answers
"Your filters contain a field 'status' that doesn't appear on your model definition nor it's relations" (Strapi)
https://strapi.io/documentation/v3.x/guides/draft.html#apply-our-changes
I am customizing my own API, which of course I would like to filter only posts with status published, so I followed the documentation above to see how it works.
I actually use…

Dora
- 6,776
- 14
- 51
- 99
5
votes
1 answer
Viewing unused images in Strapi
I have users who add images to a Strapi Media Library. I can't tell if images are actively used or not. I would love to clean out images taking up space that aren't being used. Is there a way to tell which images are used on the site and which…

Luke Graham
- 109
- 1
- 6
5
votes
5 answers
Strapi JWT token lifetime?
I can't find any information about JWT token lifetime, how long in will be valid on Strapi CMS?
And how i can automatically refresh the token when it will be not valid?
And how can i do token validation, before i get exeption about token lifetime…

MrFelix
- 63
- 1
- 4
5
votes
2 answers
Gatsby GraphQL cannot query field "url" on type "File" of Strapi
I'm making a blog with Gatsby front-end, Strapi back-end. I made a query in component with StaticQuery
query={graphql`
query {
allStrapiArticle {
edges {
node {
strapiId
…

dungreact
- 442
- 1
- 9
- 22
5
votes
2 answers
Get the image formats in a Strapi GraphQL query
I have a Post content type, which has a FeaturedImage field. Because this field is an image upload, Strapi generates handy additional formats: thumbnail, small, medium and large.
When I query all posts in JSON, I get these formats in the…

jgthms
- 864
- 8
- 18
5
votes
1 answer
Multiple databases in Strapi
Is it possible to use two different databases, i.e MongoDB and Redis, simultaneously in Strapi?
I want to keep track of my refresh tokens by Redis, while all other documents on Mongo.

Hamid
- 51
- 2