Open omerjava opened 2 years ago
And also group project is coming. There will be another mess sure :)
: )
@yoshimalaise
Now, I have a new interesting problem. I made an experiment, I post a message including a website link, it is saved in Strapi content manager but didn't return to my frontend as data. From that moment, things became strange. I sent some other posts. They have been all saved in Strapi database but not showed in fetch response. Later, I delete those posts with http links from DB. But still same things. I have 35 messages in my DB for example. When I fetch from react, I get only first 25 messages. The last recorded messages after those http link messages doesnt appear in response. I tried relevant endpoint in browser also. It is same. My experiment costs a lot to me. Anyway, it will be solved somehow. Hopefully.
I solved this problem by creating new messages table in Strapi database. Not ideal maybe, but better to move forward in short term. I must take care of link messages. Maybe , I should write some guard code in frontend to prevent api call if userInput includes links.
The problem above is happened again. After some point, my messages in the databases were not coming in the response. In fact, only first 25 messages were available in the Response data. Then, I figured out that there is a default limitation by Strapi in response data as 25 items. This limitation can be changed in the source file as shown in the link. So, it was not because of website link input which I supposed as cause of error. It seems that my above experiment just coincided with Strapi limitation :)
Screenshot of project from localhost servers
Week 1
Check-In
I Need Help With:
What went well?
npx create-strapi-app@latest my-project
command, there was an error, because of my username in computer wasjohn nash
, there was space between two names. It happened before in React setup also. I solved it then by setting up React globally first. But, this solution didn't work in Strapi. After, a lot of research, I decided to set up another user account in my computer without spaces. In this way, I solved that problem.What went less well?
Lessons Learned
Sunday Prep Work