I have some code from the previous version of Strapi that works, and the beta version of controllers is much different. There is multipart / santization boilerplate added and something has changed.  Do not understand how to integrate my order object...
I'm new to strapi and in general with back end development and I'm trying to understand how a very small things should work.  I have a User model, a Profile model and a Fare model.  A User can have a Profile so I created a relation has and be...
Using strapi 1.5.4.   Is it possible to configure strapi with environment variables? If not, how do you configure strapi without committing/exposing your database credentials and other secrets?  module.exports = {   "orm": {     "adapters...
Strapi 3.0.0 is now in version Betaa, and they have changed a lot comparing to the prior version (Alpha) But now customising the admin panel is not clear anymore in the beta version, The structure has been changed and there is no instruction on how t...
A quick question about the id column in models. We're using Strapi in our project and PostgreSQL as our DBM.   The question is, I'm trying to make models in Strapi and I'm confused about ID column. Strapi has an ID column by self. Should...
I'm new to strapi, and im trying to find a way to compress image that is uploaded to strapi which will then be served to a static gatsby site. Is there any way i can do this? I found image-compressor.js npm library but i dont know how to integrat...
When working with React and Express.js, it is recommended to convert image blob files into base64 format. Is there any specific reason why we need to do it this way?...
I would like to get a modified response object. For example I dont know how to get the user object without the roles.  The default response is:  {     "id": 6,     "username": "username",     "email": "[email protected]
I am trying to perform a simple fetch with strapi rest I am using ra-strapi-rest as a dataprovider I am able to fetch the data with Resource from react-admin but when i want to fetch a single record with custom query or a getList in useEffect i am no...
Edit: Ultimately I switched to keystone js v5. I can do all this in 1/10 the time with better documentation.  I'm trying to figure out how to implement a Strapi isOwner policy.  They created official documentation and locked out the issue.  The o...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.