Questions tagged [strapi]

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.

2734 questions
6
votes
2 answers

How to override Strapi Admin panel endpoints?

In the admin panel - I have a content-type products, which shows me all the products in the database (MongoDB) Suppose I would like to edit a product and when I click on the Save button, I would like to hit a custom API/ override the existing…
Mahesh Kumaran
  • 887
  • 2
  • 12
  • 30
6
votes
2 answers

How can I set up SSO with Azure AD and our back end strapi?

I am wondering if anyone has done this before, I have an azure Active Directory, and I host the front end of our app in IIS. The back is controlled by pm2. How can I set up SSO with Azure AD and our back end strapi? Thank you for any help
Mike
  • 129
  • 1
  • 9
6
votes
1 answer

What is CollectionType, Category and Component in Strapi

Can someone explain what does CollectionType, Category and Component mean in Strapi and the relation between each other and what can belong to what. Strapi 's documentation is missing all these details. So someone with Strapi knowledge can explain. …
PineCone
  • 2,193
  • 12
  • 37
  • 78
6
votes
4 answers

How to delete the ContentType and related db tables in Strapi?

I am using Strapi v3.0.0-beta.18.7 How to delete the ContentType and the related tables from DB ? I tried the command below, but it is not deleting the db tables. DELETE …
Oksana B
  • 358
  • 1
  • 3
  • 17
6
votes
2 answers

Is it possible to have conditional content field in Strapi?

How to add a conditional field in Strapi? I want to have a conditional field, which will only appear if the boolean field is true For example; Dog content type has a Boolean field (asking if the dog has a beard), if it does then It asks for the…
Cem Kaan
  • 2,086
  • 1
  • 24
  • 55
6
votes
4 answers

Strapi return error code 400 on user registeration, when email verification is on

I have installed the send grid module for strapi. npm i strapi-provider-email-sendgrid configured the email plugin Role and permissions setting But still whenever I register a user Error code 400 is return, also No mail is being sent. POST…
Ayush Rajniwal
  • 85
  • 3
  • 10
6
votes
7 answers

Strapi Development mode issue

I am new to strapi and want to start it on development mode. Below are steps I have followed so far git clone git@github.com:strapi/strapi.git cd strapi npm run setup but then while generating a project somewhere else using the development mode: i…
Akki619
  • 2,386
  • 6
  • 26
  • 56
6
votes
1 answer

Migrating Existing, Strapi App from Using Sqlite3 to Using MongoDB

I have a local, strapi app (that I have in a git repo) that I want to migrate from using sqlite3 to using mongodb I have done the following: created a 2nd, temporary, strapi app that is successfully using mongodb from the start (so I have a good…
Monico Moreno
  • 127
  • 1
  • 8
6
votes
4 answers

Phone Number authentication in Strapi

I am using Strapi for my android app and I need to login user by their phone number. There are many auth providers like email and password, google, facebook etc. But I can not find any documentation about adding phone number authentication. Please…
Tavinder Singh
  • 380
  • 1
  • 7
  • 17
6
votes
7 answers

Strapi : debug ⛔️ Server wasn't able to start properly

Please fix my problem. It works when I try more than 50 times. Now it does not work I try 100+ times. I start this -> strapi new server � Starting to create your Strapi application. ? Choose your installation type Custom (manual settings) ?…
user8413111
6
votes
1 answer

What might be wrong with my Nuxt / Docker / Traefik config?

For some reason I can't get this to work. I'm trying to forward /api to API container. Error I'm getting: nuxt | [6:11:03 PM] Error: connect ECONNREFUSED 127.0.0.1:80 nuxt | at TCPConnectWrap.afterConnect [as oncomplete]…
emirowski
  • 265
  • 3
  • 13
6
votes
1 answer

GET http://api:1337/games net::ERR_NAME_NOT_RESOLVED for nuxt.js pages using asyncData

I have somewhat complicated setup with docker. Everything's working as expected except I have this weird problem. Visiting index page or /pages/_id pages I have no errors. But when I try to open /other-page it crashes. All are using the same API…
emirowski
  • 265
  • 3
  • 13
6
votes
1 answer

How to pass JSON object in grpahql and strapi

When I manually write the mutation query (in graphql plugin), it's working: mutation { createExam(input: { data: { name: "myName" desription: "ggg" …
sir-haver
  • 3,096
  • 7
  • 41
  • 85
6
votes
3 answers

How to create custom Registration and Login API using Strapi?

I am using strapi to create APIs. I want to implement my own Registration API and Login API. I checked the documentation of strapi but i am not finding any custom API for this. can any one help me on this?
Sangram Badi
  • 4,054
  • 9
  • 45
  • 78
6
votes
0 answers

how to POST relationships in STRAPI

Here's a newbie question for strapi but I haven't found it covered anywhere. I have a ecommerce database and I would like to migrate my data to strapi. I managed to http post new items into the database but I dont know how to post the relationships.…
perseon
  • 61
  • 6