Strapi v4 Crash Course 2023 [ Getting Started with Strapi ]

  Рет қаралды 69,925

Coding After Thirty

Coding After Thirty

Күн бұрын

Пікірлер: 237
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
For all of you who have found this video helpful, sometimes it is hard for me to trouble shoot issues in the comments. I am thinking of doing a biweekly Strapi open office hours stream. Comment here or like if this is something that you would like me to do.
@EstherWhiteDev
@EstherWhiteDev 9 ай бұрын
yes, it would be great, this video was very nice but I would love to see anything that is related to using a database with Strapi like Postgres
@farhanprine
@farhanprine 8 ай бұрын
Yes please!
@ron-almog
@ron-almog 5 ай бұрын
yes please! also a subject that I want to know: what is the best way to secure a website that is based on strapi as backend? a demo of a react (or better: next.js) app that reads/stores data in strapi and is secured, maybe even with OAuth providers like google and facebook, would be awesome!
@kangroasting8933
@kangroasting8933 3 ай бұрын
Hi, I saw that you starting the strapi server is very fast, while mine takes 5-10 seconds, is there a way to make it fast like that?
@fuzzychest
@fuzzychest 10 ай бұрын
Honestly, if I didnt have your videos I would have dropped Strapi already. I am on the fence but you are keeping me on it. Thumbs up for the commitment to wear the same shirt.
@CodingAfterThirty
@CodingAfterThirty 10 ай бұрын
This means a lot. Thank you. I will have more videos on the way. Let me know if there are any specific topics you are interested in. And yes. Same shirt for continuity.
@ZynthCode
@ZynthCode Жыл бұрын
Make sure you catch the most important part of the video! 32:43 This part is also very important: 46:07
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you. And happy holidays.
@MinqTheSkinner
@MinqTheSkinner Жыл бұрын
Incredible tutorial, thank you so much Paul! You deserve far more recognition, you're a great educator!
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you for the kind words. Really appreciate it and thanks for the watch.
@vasatvnow
@vasatvnow 5 ай бұрын
It took a few hours and many videos and readings but this video is now making sense to me. Please keep up the good work. Working every day with strapi now.
@CodingAfterThirty
@CodingAfterThirty 5 ай бұрын
Thank you for watching.
@borameupai1792
@borameupai1792 Жыл бұрын
After a month of studying Strapi, this type of video becomes clearer. I didn't know about that trick in controller and middleware. Thank you very much.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you, glad you like it.
@farhanprine
@farhanprine 8 ай бұрын
The middlewear section is invaluable, thank you for showing this! Would be nice to show to set up custom api endpoint with validation and sanitisation.🎉
@CodingAfterThirty
@CodingAfterThirty 8 ай бұрын
I plan on making more tutorials around strapi soon. In the meantime, you can check out this tutorial I am working on now. kzbin.info/aero/PL7Q0DQYATmvgONvIWsy34aDkAtcdjsQLE&si=YvBxmwxB-MZ_HXMW
@codingleo
@codingleo Жыл бұрын
Exactly what I was looking for. This is perfect! Thanks for sharing!
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you for checking it out 🙂
@jackw3882
@jackw3882 Жыл бұрын
I only used to fetch products data for the front, never thought it could be fetch the whole page data like you show us. Thank you.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Awesome. Nice. Glad you enjoyed the video. And thank you for watching.
@chitwarnie
@chitwarnie 8 ай бұрын
Thanks for the great work on this. It was a great primer in my decision making. Keep up the good work!!!
@CodingAfterThirty
@CodingAfterThirty 8 ай бұрын
Thank you. Glad you enjoyed it. I typically don't do too many tutorials on this channel. But I love Strapi. If you have any questions or need help with anything let me know. Strapi 5 is in the works. When it is out of beta I will make another in-depth tutorial.
@Strapi
@Strapi Жыл бұрын
Great job Paul.
@waqarsarwar-k8i
@waqarsarwar-k8i 11 ай бұрын
It's an amazing to learn Strapi v4 for beginers. Thanks!
@amaoalex
@amaoalex Жыл бұрын
This is pretty cool, everything that I need to know at current stage, thank you!
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you. Glad you enjoyed it. 🙂
@udimbas
@udimbas Жыл бұрын
Thank you, Paul, this tutorial helped me a lot. Always great content in here.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Udi you are the best. Always appreciate your support. 🙂
@peterpardo4138
@peterpardo4138 Жыл бұрын
Hello! Awesome video. I encountered an issue when "importing the backup file". I have an error message that says: links: 0 transfered (size: 0) (elapsed: 0 ms) [2024-01-03 15:52:57.639] error: [ERROR] insert into `components_elements_pricing_cards_services_links` (`pricing_card_id`, `service_id`, `service_order`) values (1, 7, 1) - FOREIGN KEY constraint failed I found a workaround by deleting the "data.db" in the ".tmp" folder but it's also deleting the created user. Any tips on how to fix this? Thank you in advance!
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
I will take a look and see if I can replicate the issue and figure out what is going on. For now after running your fix you can use Strapi export to create an updated backup file and it should not give you any future issues.
@fodortibor95
@fodortibor95 Жыл бұрын
@@CodingAfterThirty same error for me, also deleting the data.db fixes it, what could be its root-cause?
@brancode
@brancode 11 ай бұрын
rm data.db worked but i really dont like that account is deleted. imagine this on production. do you have a fix for this? it was 2 weeks since you answered...
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
@@fodortibor95 I am still looking into the issue. I could not replicated it.
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
@@brancode I would love to help but I need a little more information on how you are running into the issue. I am not able to replicate it. Can some one show the steps to reproduce the issues. I am going to try to see if I can replicated. Thank you.
@metalpis
@metalpis Жыл бұрын
Awesome tutorial!. Thanks Paul, keep it up 👌
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you for watching and your feedback.
@zepgo615
@zepgo615 7 ай бұрын
nice turtorial, learned a lot. I can not find part 2 as you mentioned where you build frontend with this Strapi data.
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
that is still working progress, but I’m working on it, but I will also have a shorter tutorial out soon. That covers how to take a next project and add to Strapi.
@zepgo615
@zepgo615 7 ай бұрын
@@CodingAfterThirty looking forward for both
@KirthiBagracha
@KirthiBagracha 10 ай бұрын
This is the beest video on strapi
@CodingAfterThirty
@CodingAfterThirty 10 ай бұрын
Thank you so much. More on the way.
@bigsgm
@bigsgm Жыл бұрын
Super excellent tutorial!
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you so much. Glad you enjoyed it.
@ankitthakur85
@ankitthakur85 11 ай бұрын
Hi Paul Bratslavsky, Thanks for great tutorial. I am currently looking for how to create graphql apis, and add custom apis like meilisearch in strapi instead of using meilisearch sdk on client apps. I want our all requests directed from strapi, so that we can customize and control the same. Requesting 1 crash course for these 2 topics: 1. GraphQL Apis 2. Custom apis like meilisearch or upload api to s3 via api to server.
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
Thanks for checking out the video. I will keep this in mind. I will add to my list to cover s3 buckets and milisearch. Also, do you have a specific reason for using GraphQL? For the most part, the same thing that you can accomplish with GraphQL you can do with REST using populate and filtering flags. So, for me, creating content specifically for GraphQL is at the bottom of my list.
@Nahuel_Uboldi
@Nahuel_Uboldi Жыл бұрын
Great tutorial!
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you. Glad you enjoyed it.
@luis-clara
@luis-clara Жыл бұрын
Great tutorial Paul! Thanks! All steps very clear! Do you gonna do or do you have any plans about to do any video with the frontend consuming the strapi using vite-ssr-plugin?
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Glad you enjoyed it. I haven’t tried that plug-in yet but that’s a pretty good suggestion.
@ahmedallawi8638
@ahmedallawi8638 Жыл бұрын
Thanks a bunch, sir for this kind of videos I hope you create it a full app with Strapi and Vue Js with registration 🌹🌹🌹🌹
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Glad you like the video. Thanks for the support.
@AlyssonBrito_BR
@AlyssonBrito_BR 2 ай бұрын
51:28: On Strapi5, that query is not working anymore. BTW: Awesome tutorial!
@AlyssonBrito_BR
@AlyssonBrito_BR 2 ай бұрын
{ populate: { metadata: { populate:{ metaImage:{ populate:true, fields: ['name','alternativeText','url'] } } }, blocks:{ on:{ 'blocks.hero': {populate:'*'}, 'blocks.row': {populate:'*'}, 'blocks.pricing-row': {populate:'*'}, 'blocks.cta': {populate:'*'}, } } } }
@AlyssonBrito_BR
@AlyssonBrito_BR 2 ай бұрын
And: { populate: { metadata: { populate:{ metaImage:{ populate:true, fields: ['name','alternativeText','url'] } } }, blocks:{ on:{ 'blocks.hero': {populate:'*'}, 'blocks.row': {populate: {card:{ populate:{image:{fields:['name','alternativeText','url']}}}}}, 'blocks.pricing-row': {populate:['plan.services','plan.link']}, 'blocks.cta': {populate: ['form','form.input','form.button']}, } } } }
@CodingAfterThirty
@CodingAfterThirty 2 ай бұрын
Yes, you now need to use the ‘On’ flag if using strapi 5. I am planning to re-record this tutorial for v5 soon.
@xmove0177
@xmove0177 11 ай бұрын
Чудове відео. На оригінальній швидкості трохи важко встигати за ведучим, але на 0.75 норм)
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
Thank you. I will try to speak a little bit slower next time. 🙂
@luiscarlosgutierrezsosa7130
@luiscarlosgutierrezsosa7130 3 ай бұрын
A lot of thanks, I've enjoyed the video, This helps me. A Software Engineer presented me a proyect in strapi, I'm not going to tell you is my secret. Jajajaja
@CodingAfterThirty
@CodingAfterThirty 3 ай бұрын
Thanks for checking out the video 🙂
@Computerix
@Computerix 7 ай бұрын
Very beneficial, thank you!
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
Thank you for checking out my content.
@jasonadventure2265
@jasonadventure2265 5 ай бұрын
Language is very clear and easy to understand.👍
@CodingAfterThirty
@CodingAfterThirty 5 ай бұрын
Thank you so much, glad you enjoyed the tutorial.
@emmanueleban1096
@emmanueleban1096 7 ай бұрын
You rock sir, thanks .. although I’ll like to know if strapi can handle/customize multitenant using next js
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
It is not something Strapi was designed for in mind. It is recommended that each project has its own Strapj instance.
@Gitago
@Gitago 4 ай бұрын
Anyone know where he part 2 of this video is ? 0:45 he mentions future video..
@CodingAfterThirty
@CodingAfterThirty 4 ай бұрын
Hey. Yes. Since this was based on Strapi 4, I started a new series focusing on Strapi 5 that will be released in GA soon. kzbin.info/www/bejne/a2fLXnmGqZxmjNUsi=S8g_hpepTj9RAG0L This will also have a next.js complementary course to go with it. kzbin.info/www/bejne/e53QlmmaZrmelacsi=tjJhAjfOPjwdI3t8
@nirman99
@nirman99 Жыл бұрын
Great tutorial. Really appreciate it.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you. Glad you enjoyed. I will making more Strapi related videos on this channel.
@lastspoil5547
@lastspoil5547 4 ай бұрын
So if I'm going to watch a E-Commerce tutorial (with no voice over instructions) using Strapi, will this video prepare me? I do understand the basics of api's.
@CodingAfterThirty
@CodingAfterThirty 4 ай бұрын
I think whenever you are learning something. If someone is using a particular tool or tech stack. Makes sure to also read that documentation.
@gentlemanjack4083
@gentlemanjack4083 Ай бұрын
Is there a video where you use those components on the frontend side?
@CodingAfterThirty
@CodingAfterThirty Ай бұрын
I have not created that portion of the project, but I in the process creating new videos where I will cover this topic.
@UsmanAli-ox3mn
@UsmanAli-ox3mn Жыл бұрын
How is dynamic zone dynamic then... if we have to specify everything in the query. This means every time we add a new component in the dynamic zone, we need to update our query on the front-end to populate respective references. On live thats a new release of front-end app every time
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
It is dynamic in a sense that the content editor has predefined components that you created as a developer for them to chose from. There fore they can create the page with any of the components in any order or repetition they want. In terms of creating new components and dynamic zones on the fly. It is not something you are able to do in production or should be able to do. This prevents someone from making changes in production that can break the app. So you are limiting the content editor to use the only the available options which they can return in any order. For which you will have one predefined query. I would suggest to set up an example and play with it. To get an idea of how it works. If you haven’t already. .
@UsmanAli-ox3mn
@UsmanAli-ox3mn Жыл бұрын
@@CodingAfterThirty i guess i was looking at in complete picture. For every new component frontend also need a component to consume that data so we still need release. Thanks for your response.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
@@UsmanAli-ox3mn no problem. If you have additional questions feel free to ask.
@HikaruAkitsuki
@HikaruAkitsuki 7 ай бұрын
I have a question. I using PostgreSQL on an online server which is SSL is required. I can't connect my workspace for some reason because of this. Should I build my CMS on quickstart before I then connect it on production of did I just missed some .env variables?
@gedeanggayogaprastawa968
@gedeanggayogaprastawa968 7 ай бұрын
Do you still open to answer?
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
I typically stick with SQLite in local development and, during deployment, will point to a production database. You can set up a local Postgres SQL database, but you will have to update your settings. You can check out the docs. I also made this video a while ago and will create an update, but the steps are still similar. kzbin.info/www/bejne/fJa9qnaurMdkl7Msi=_Z_Ay0PE1TMfFvHw If it is an existing project you will have to install the pg package and update your configuration in config/database.js file. You can checkout this post for reference strapi.io/blog/postgre-sql-and-strapi-setup
@HikaruAkitsuki
@HikaruAkitsuki 7 ай бұрын
@@gedeanggayogaprastawa968 Ah yea never mind. If the server SSL is required, it will not gonna work on Friday om npx start up. So I just only need to start up on quickstart and then follow the step on strapi to manually install pg and just remove to the config/data ase the old variables and exchange with in the instructions. Basically it's already alright now. Now I preferring my dynamic page.
@HikaruAkitsuki
@HikaruAkitsuki 7 ай бұрын
@@gedeanggayogaprastawa968 Nah! I just discovered that if the pg server require ssl, the npx initial just don't work. So the right approach is start with quick start, then exchange the variables on config/database then install pg environment on the project, the chance the env file. I just need to ready my page to fetch the API but the Strapi is working as I test in postman.
@bonghongnhotrendongcoofficial
@bonghongnhotrendongcoofficial 6 ай бұрын
I read your tutorial on strapi website but can not get data from our backend to our frontend. Can you help me?
@CodingAfterThirty
@CodingAfterThirty 6 ай бұрын
What issues are you having? Can you provide an example?
@MohamedSonaTa
@MohamedSonaTa Жыл бұрын
Thanks so much paul for this amazing tutorial And really Strapi the best of headless CMS, Can you create an toturial about plugin users-permissions extending i need to override somethings on (create, find, update) functions but really there's no any docs explained it
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Are you looking to do an update when creating users via api? Can you give me an example of what you are trying to do. That way I can have a better idea what to demonstrate. You can also checkout this section in the docs docs.strapi.io/dev-docs/plugins-extension#extending-a-plugin-s-interface
@MohamedSonaTa
@MohamedSonaTa Жыл бұрын
Apologies for the previous block on my comments; I'm not sure why it happened. What I'd like to achieve is an extension of the plugin's controllers and services functions. Specifically, I need to override some of the User Controllers functions like 'register,' 'connect,' 'find,' 'findOne,' and 'delete.' In my case, I want to perform some operations on the request body before these functions are executed. Additionally, I need to create a custom Controller and route within the plugin's user permissions section. For the user section, I'd like to add a new route, such as 'findOne (api/users/userName)' or 'findOne (api/users/email),' to enable searching for users by their username or email. If possible, I'd greatly appreciate your guidance and a tutorial on how to customize the backend, particularly in the plugin section, as described above.
@mystupidbrain5299
@mystupidbrain5299 Жыл бұрын
I love how you look more presentable as the video progresses. 😂
@benfawley5046
@benfawley5046 Жыл бұрын
Great video 🤝
@amaoalex
@amaoalex 9 ай бұрын
When I try deploy to strapi cloud, the build stop at "[3/5] Fetching packages...", I tries several times and it remains, could you help?
@CodingAfterThirty
@CodingAfterThirty 9 ай бұрын
I will be in Strapi’s open office hours on Strapi’s discord. You can stop by it’s Mon - Fri 12:30 pm cst. We can look at you project or if you want if you repos is public send me the link and I will test it and see what is happening.
@MQadri83
@MQadri83 11 ай бұрын
Very nice, I have it all running in about an hour! Populating is still pain in the bottom 😅, but I got the idea. One thing I didn't get, why using collection-type for a landing page 🤔?
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
You can use either single type or collection type really up to you. Let’s say you have many products and you want to have multiple landing pages then collection type make sense, but if you only need one landing page, it’s fine using single type.
@g.o.6321
@g.o.6321 11 ай бұрын
Can you make a couple vidz on how to manage controllers and services? For example I need to ensure whenever a new therapist (I have 2 users: patient and therapist) registers on the FrontEnd automatically strapi places them in the user collection and at the same time creates a new entry in the profiles collection.
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
I will think about this and create a custom auth flow example when get a chance.
@amadsaed1012
@amadsaed1012 9 ай бұрын
Where can I find how to costumize an api , I need to know hoy to get something especially but not with its Id , with another parameter, please
@CodingAfterThirty
@CodingAfterThirty 9 ай бұрын
Take a look at this to see how to customize controllers docs.strapi.io/dev-docs/backend-customization/controllers#adding-a-new-controller And here on how to use populate and filtering to make custom queries. docs.strapi.io/dev-docs/api/rest/filters-locale-publication
@miraaklepinguin
@miraaklepinguin Жыл бұрын
Thank you for this tutorial! I was wondering if there is a way to rearrange items within multiple repeatable components. For example, if I have a component called "Col" with "Card" and "Button" repeatable components inside, how can I arrange them in this order: Card1, Button1, Card2, Button2, etc and not Card1, Card2, ... Button1, Button2...
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
If I am understanding correctly. To accomplish this. You would have the button component inside the card component.
@KuroManX
@KuroManX Жыл бұрын
Create an order field, and on your front order them by the order field
@khourageomnibarry6513
@khourageomnibarry6513 Жыл бұрын
Hey thank you for this. Ive got a quick question that brought me to this video. I’m building a website for my church, and I’m adding a BLOG & MEDIA page to the nav. These dynamic pages need to updated weekly, although there are other static pages like the landing page and others that wouldn’t need to be updated. What is the best way to go about this? For context I use React. Thank you.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Glad you enjoyed the video thank you for watching it. I would use Next js for the frontend. Also you can have the whole page static and when you add new content you can fire a hook that will rebuild your site and update your content. That is what we do on Strapi.io website. It’s is build with next js on the front end and of course using Strapi on the backend.
@khourageomnibarry6513
@khourageomnibarry6513 Жыл бұрын
@@CodingAfterThirty thanks a lot for this
@lindsayaiello501
@lindsayaiello501 Жыл бұрын
Great video! When will your front end side of this come out and what framework are you going to use? ... please say next.js :)
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
I will make a follow up at some point and yes will use nexts. I have these two reference projects I worked on that you can checkout now to get some ideas how next works with Strapi. github.com/strapi/nextjs-corporate-starter And this based on the nearly released Next 14 tutorial. I converted it to use Strapi. github.com/strapi/strapi-next-14-dashboard-demo/tree/main
@shapeshifter7834
@shapeshifter7834 10 ай бұрын
I have a problem. If I call a get request for all data in the database I get an empy list, if I search one by one I get the element with corrisponding id. All elements are published.
@CodingAfterThirty
@CodingAfterThirty 10 ай бұрын
Did you enable find permissions in settings for you collection type?
@shapeshifter7834
@shapeshifter7834 10 ай бұрын
yep@@CodingAfterThirty
@cngz7367
@cngz7367 9 ай бұрын
Thanks for the great tutorial! Could you also display the last 3 blog articles (based on creation date), for example? And how? I don't mean via the REST API but via the CMS
@CodingAfterThirty
@CodingAfterThirty 9 ай бұрын
Do you mean inside the strapi admin? You should be able to filter your collections by the publish date.
@cngz7367
@cngz7367 9 ай бұрын
@@CodingAfterThirty Yes, that's what I meant. I have now customized the API controller and service to accomplish this and it works. But it would be nicer via the Strapi admin panel.
@AkshayJaiswal
@AkshayJaiswal 7 ай бұрын
Hi Paul, Nice tutorial, Very helpfull. I just started using Strapi. I am thing to use it for an online store project. My question is It it prossible to add custom api like for a feature Loyalty program for existing online shop customers?
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
Glad you enjoyed it. For your question, do you mean how to create a custom endpoint in Strapi that fits your use case? If so yes, you can either make it tied to an existing collection type or a custom end point via a plugin.
@Hanoeuf
@Hanoeuf Жыл бұрын
You're awesome. :)
@alekseiwe
@alekseiwe 9 ай бұрын
Thanks man. Great video to start use strapi. Can you help me? I have collection of cities and collection places. City has field places. Relation 1 to many. How to make strapi availble to return list of (city, places.count)?
@CodingAfterThirty
@CodingAfterThirty 9 ай бұрын
The three ways to handle this (easy way) are to get the data on the front end and just use the length property on the array to get the count of the places. (harder) create a custom control or modify the existing one to return places count as an additional value. You can read the docs here docs.strapi.io/dev-docs/backend-customization/controllers#adding-a-new-controller
@temitayososanya877
@temitayososanya877 2 ай бұрын
What's the work around for handling files with S3 bucket and using a MongoDB?
@CodingAfterThirty
@CodingAfterThirty 2 ай бұрын
Strapi 4 does not support mongo db but for S3 you can install their provider. market.strapi.io/providers/@strapi-provider-upload-aws-s3
@AnkitKumar-ph6if
@AnkitKumar-ph6if Жыл бұрын
I am getting this error while re-running the server. PLEASE HELP ME RESOLVE THIS. I've tried to find a solution from various articles but nothing seems to work. PS E:\Work\Strapi\my> yarn develop yarn run v1.22.21 $ strapi develop ⠋ Building build context [INFO] Including the following ENV variables as part of the JS bundle: - ADMIN_PATH - STRAPI_ADMIN_BACKEND_URL - STRAPI_TELEMETRY_DISABLED ✔ Building build context (89ms) ⠸ Creating admin[ERROR] Module not found: Error: E:\Work\Strapi\my\package.json (directory description file): Error: No file content [ERROR] There seems to be an unexpected error, try again with --debug for more information
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Are you on windows and what node version are you using. Also if you have your project on GitHub as a public repo I can test it.
@AnupKumar-fy4ub
@AnupKumar-fy4ub 9 ай бұрын
Relation (services) is not showing in the api response in the latest Strapi version. How to show it?
@CodingAfterThirty
@CodingAfterThirty 9 ай бұрын
Can you provide a little bit more context so I can better answer your question.
@richiesikaonga4642
@richiesikaonga4642 6 ай бұрын
I hello Paul I have tried to deploy strapi on render API not working when I deploy ok n render but everything working fine locally when I run Localhost
@CodingAfterThirty
@CodingAfterThirty 6 ай бұрын
Is there a specific error you are running into? When deploying to render, you would need to set up the database separately. Or set up persistent storage if you are using SQLite.
@vedbhanushali608
@vedbhanushali608 Жыл бұрын
great tutorial thanks
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you for checking it out 🙂
@MrSonicastra
@MrSonicastra 10 ай бұрын
Nice, where can i find the front-end video?
@CodingAfterThirty
@CodingAfterThirty 10 ай бұрын
I did not recorded the frontend tutorial yet, but it is on my list of videos to make next.
@LeonGaban
@LeonGaban Жыл бұрын
Hi Paul, met you at the ATX NextJS meetup this past week :) Question, I want to use the Strapi on Digital Ocean option... all I need is just Strapi correct? But do I need SQL or Postgres as well? Basically I need to manage user registration, in additional each user will have a crypto portfolio array of coins. Is this something Strapi can handle all by itself? Or do I need to find a tutorial combining Postgres and Strapi to get this desired backend setup?
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
You would need to set up an instance of postgreql on digital ocean as well. If you need help setting Strapi up. Feel free to reach out. You can also dm me on twitter @codingthiry
@LeonGaban
@LeonGaban Жыл бұрын
@@CodingAfterThirty hey that twitter profile doesn't exist? I defs need help
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
@@LeonGaban yep I need to learn how to spell @codingthirty
@thompa04
@thompa04 2 ай бұрын
Why is it not recommended to use the built in media library when deployed?
@CodingAfterThirty
@CodingAfterThirty 2 ай бұрын
You use the media library regardless, the only thing that change is the provider you use. By default Strapi uses the file system, which will store your data in the same place as your deployed project. But for production this is not ideal, and should use a dedicated storage like s3 or I like cloudinary.
@thompa04
@thompa04 Ай бұрын
@@CodingAfterThirty Thank you, this is a great tutorial, appreciate your channel!
@liviumarianiordache
@liviumarianiordache 11 ай бұрын
I need help... How can I change the primary key? I have some relations between categories but strapi auto set the primary key to the id field.
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
I don't think you can change the default primary keys in Strapi. What are you trying to do exactly?
@abdulwahab182
@abdulwahab182 9 ай бұрын
Great 💯
@SpiderWebGhost
@SpiderWebGhost Жыл бұрын
yoo!! wonderful tutorial! I just had a question.. How do we work with DateTime data in the frontend. Suppose I have datetime data in Strapi and I want to separate date and time, How to do that?
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
You can either checkout different methods that are available to the date object or even easier you can use a library like date-fns.
@nikolavelkovski-c1b
@nikolavelkovski-c1b Жыл бұрын
Hello Thanks, for the great tutorial i have one questions about the project: *It's it better landing page to be single type because it look like only 1 page it don't have couple of other landing pages? (Can you explain in details about this) Thanks in advanced!
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Both approaches work. You can either use a single type or a collection type. It’s really up to you. If you know you will have just one landing make, it is OK to use a single type. But let’s say you have many products or services, and you want each service to have its landing page then using a collection type makes sense.
@nikolavelkovski-c1b
@nikolavelkovski-c1b Жыл бұрын
@@CodingAfterThirty Yeah that makes alot of sense Thank you so much :),
@hodayamirr
@hodayamirr 5 ай бұрын
Dunno if it's only me, but in the admin dashboard i cannot add anything in the content-type builder :(
@CodingAfterThirty
@CodingAfterThirty 5 ай бұрын
Is this in local development?
@PitchBlackAlex
@PitchBlackAlex 8 ай бұрын
Hi, sorry for spamming you, but can't find proper content for my question. I have the following scenario: Collection Type called Articles. Each Article has dynamic zone whit repeatable Components (RichText, Accordion and etc.) Each of the components has description field. In the CMS Articles findMany how the filtering should look like to access the Dynamic Zone components? I tried different combinations like: { content: { ["$or"]: [ { description: { "$containsi": searchTerm } }, { components: { [operator]: [ { description: { "$containsi": searchTerm } } ] } },
@SimplyLifeInspiring
@SimplyLifeInspiring 7 ай бұрын
Helpful but if you can post a detailed video on how to deploy on IIS or on a local server. Google didn't help at all finding resources on this subject, as if deploying on a local server or IIS is forbidden 😅. any help would be great!
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
Unfortunately I don’t deploy on Microsoft services. Sorry. I am not familiar with that particular deployments. Is there a reason why you are using IIS?
@SimplyLifeInspiring
@SimplyLifeInspiring 7 ай бұрын
@@CodingAfterThirty were i work they already host the angular app on IIS and we are trying to find a way to keep everything related to that app (as backend) on the same server. We just started to use Strapi and we are testing things out, I have been reading a lot of recourses and trying to use pm2 but it's failing 😥
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
@@SimplyLifeInspiring I will see if I can find some resources on the IIS side of things, but what issues are you running into on pm2? You may find this helpful docs.strapi.io/dev-docs/deployment/process-manager
@alexciotor
@alexciotor Жыл бұрын
nice glasses 👍👍
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
I now can see.
@nehawaddi5208
@nehawaddi5208 9 ай бұрын
when i am opening content manager i cannot see anything . only i can see white screen. can anyone help me how to solve it please ?
@CodingAfterThirty
@CodingAfterThirty 9 ай бұрын
Did you make any customizations to you project with it the backend code or is this a new install? Also what OS are you using and node version?
@damiansimonak7955
@damiansimonak7955 4 ай бұрын
If I use Custom Middleware to Pre Populate our data then I don't have to use qs package on front end ?
@CodingAfterThirty
@CodingAfterThirty 4 ай бұрын
Yes. That is correct.
@damiansimonak7955
@damiansimonak7955 4 ай бұрын
@@CodingAfterThirty this answer save my life
@MrKeliv
@MrKeliv Жыл бұрын
I like strapi helping me to develop backend easily. But I have a problem for deployment. As I created before was using Ruby on Rails as the backend. It was easy to deploy and doing migration whenever we want to deploy of our new code. I want to ask continues deploy and migration after we develop in the local pc to production live server.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Typically you would handle all your changes via git. In terms of easiest way to deploy. Using Strapi cloud is the the easiest. Than I would recommend digital ocean app platform. Render also has good deployment options.
@MrKeliv
@MrKeliv Жыл бұрын
@@CodingAfterThirty ok thank you. I will try this
@st_bakerino
@st_bakerino 5 ай бұрын
bester Mann
@rkingham3181
@rkingham3181 11 ай бұрын
I think you forgot the link to your blog populate post in the description
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
Thanks will update it but will share here as well strapi.io/blog/demystifying-strapi-s-populate-and-filtering
@rkingham3181
@rkingham3181 11 ай бұрын
@@CodingAfterThirty Great! Thanks
@envygamer
@envygamer Жыл бұрын
One thing I noticed and confirmed is that 1. When you deleted the Landing Page it had an ID of 1 and after you imported the files the landing page had an ID of 2, *Is there a way to link the existing data with newly imported files.*
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Currently strapi does not support partial import. So when we ran the import command all of the files were replaced by the import and since we were importing to an existing database Postgres generated new ids.
@envygamer
@envygamer Жыл бұрын
@@CodingAfterThirty eagerly waiting for the part where you connect this API with FE, I have been toying around strapi for almost 2 months and still have trouble connecting the dots
@envygamer
@envygamer Жыл бұрын
@@CodingAfterThirty By Any Chance could you upload the chapters for this video, it gets cumbersome to traverse back and fourth
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
@@envygamer I got you.
@Titan-ey2wj
@Titan-ey2wj 3 ай бұрын
Can i use it for a complete ecommerce without any additional database?
@CodingAfterThirty
@CodingAfterThirty 3 ай бұрын
In Strapi you will have to create one database for your project and can use it to stro all your ecommerce data that you need.
@lekhiem7572
@lekhiem7572 Жыл бұрын
The cat is so cute :D :D
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Lol. They are little trouble makers but I love them.
@germain-dela-kobby
@germain-dela-kobby Жыл бұрын
Hello, I tried to view an image from the API but it doesn't appear, the image URL shows up but not the image
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Can you share what the url you are getting back?
@germain-dela-kobby
@germain-dela-kobby Жыл бұрын
@@CodingAfterThirty please this is it url: "/uploads/maritime1_ebe57b54b8.jpeg"
@copaceticobserver
@copaceticobserver 5 ай бұрын
How viable is strapi for free-lancing?
@CodingAfterThirty
@CodingAfterThirty 4 ай бұрын
It’s perfect. But it depends on what type of projects you are building. If you are going to have non technical users, and lots of content, that is a perfect use case. What type of project are you thinking of building.
@copaceticobserver
@copaceticobserver 4 ай бұрын
@@CodingAfterThirty that's just the type of sites I had in mind, thank you! Also, what about e-commerce?
@CodingAfterThirty
@CodingAfterThirty 4 ай бұрын
@@copaceticobserver you can, I just know a lot of folks use shpify for bulk of the functionality. But you can just use Strapi too. There is also Medusa an open source e comerce platform that you can also integrate with Strapi.
@copaceticobserver
@copaceticobserver 4 ай бұрын
@@CodingAfterThirty Thank you very much!
@luongnguyenthanh4650
@luongnguyenthanh4650 3 ай бұрын
your cat is very cute lol
@CodingAfterThirty
@CodingAfterThirty 3 ай бұрын
Thank you. I got two. One is camera-shy though.
@xicor9469
@xicor9469 Жыл бұрын
THIS is how you make crash courses.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Wow thank you. Really appreciate. Glad you enjoyed it.
@Komalpaul-q4w
@Komalpaul-q4w Жыл бұрын
when will you upload part 2 ?
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
I an planning it now. Let me know what you would like to see in part 2.
@existentialquest1509
@existentialquest1509 Жыл бұрын
NICE demo, what I wish is these demos are provided by Strapi themselves: end to end examples, including how to login using oauth2, registration, password reset etc. These developer advocates miss the basics..I MEAN how long will it take a to build an example with both email and oauth2 providers, show registration, password reset, email verification etc. I think the community should learn from LARAVEL. the ecosystem that Taylor has build wrt Laravel is an example of how to win over the developer community
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thanks for your feedback. There are so many frameworks that to create example for each would be time consuming. In terms of Dev Rel missing there mark. I appreciate your feedback. I will focus on creating more up to date resource. In the past we were more focused on the Strapi side of things, and counted on our community to create framework specific examples. I am in the process of creating more example with a goal of creating a project for production. But I will build it in public, that way anyone in the community can ask questions via git issues or even help us to make the examples better. I know I can’t keep everyone one happy, so on Strapi official channel I will focus on Next 14, but here in my channel will focus on Astro, Remix and some Next js. Anyway. Thanks for the feedback. I really appreciate. As I am the only Dev Advocate at Strapi, so I have my work cut out for me. 🙂
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
ps. We have open office hours Monday through Friday 11:30 pm CST time. You are always welcome to stop by and ask any questions you may have.
@existentialquest1509
@existentialquest1509 Жыл бұрын
@@CodingAfterThirty hey , I didn't know u were the dev advocate at Strapi-lol. I understand and appreciate the effort . Its easy for me to say its not good enough but frankly the reason for my comments was the fact that Strapi is such a good platform, I mean its auth system alone is worth it, but headless auth with outh2 is not easy. I am saying this as an enterprise level CTO with over 25 yrs experience. Even a tiny mistake and ur open to hacking. Thats why one end to en example on any one framework - Next, Nuxt , Sveltekit would ensure that people see the value that strapi has to offer- it can be a complete backend.. again my comments werent to offend but rather point out that and end to end example will drive adoption.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
No offense taking. It is important to listen to the community to make sure that we are being as helpful as possible, and providing appropriate resources. I am in the process building an app that i want to deploy to production with real users to get a better understanding of using Strapi in the wild rather than just creating one of examples. Auth is complicated and securing your application is very complex. And anytime you have any more feedback that can help us do thing better. It is always appreciated. At the end, I just want to build cool things with Strapi and empower others to do the same.
@existentialquest1509
@existentialquest1509 Жыл бұрын
@@CodingAfterThirty that’s great , really looking forward to this . Strapi can be a complete backend for many content heavy sites - for example supabase doesn’t have the content workflow that strapi has - Glad your looking into an end to example - if possible lao add email verification flow - I can see if i can also add 2 factor to that - Another thought - I think server actions in next js 14 is a great way to safely call all strapi Apis - what do you think ?
@EbinVarghese-r1u
@EbinVarghese-r1u Жыл бұрын
Error while installing dependencies: getting this error when creating the project.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
What OS version and node version are you on?
@EbinVarghese-r1u
@EbinVarghese-r1u Жыл бұрын
using ubuntu 22.04.3 LTS and node version is v18.17.1@@CodingAfterThirty
@MuhammadAfaq-l6o
@MuhammadAfaq-l6o 4 ай бұрын
Can you share the codebase for that?
@CodingAfterThirty
@CodingAfterThirty 4 ай бұрын
I don't have the original code anymore, but I did a similar project with same features. You can find the link in this video kzbin.info/www/bejne/qoOpkJ6gqZWYatksi=8NrpohqPFml4Z7nw
@Tonaldo90
@Tonaldo90 8 ай бұрын
How Insomnia better than classic Postman ? 👀
@CodingAfterThirty
@CodingAfterThirty 8 ай бұрын
Postman is better but I just like the simplified UI of insomnia. I know it is irrational. But that is just the way I feel.
@male3399
@male3399 Жыл бұрын
Good content but I think maybe u need to change your thumbnails
@mystupidbrain5299
@mystupidbrain5299 Жыл бұрын
How would you change the thumbnail to make it better?
@male3399
@male3399 Жыл бұрын
Idk just a suggestion to attract more viewers
@mystupidbrain5299
@mystupidbrain5299 Жыл бұрын
I agree with you just not sure what would be a good example. What channels that you watch which have good examples of good thumbnail.
@CodingAfterThirty
@CodingAfterThirty Жыл бұрын
Thank you for the feedback. And checking out the video. I definitely need to improve my thumbnail game.
@rafayking14
@rafayking14 10 күн бұрын
I was initially enjoying the Strapi tutorial, finding it easy to follow and understand in the first part. However, things took a turn for the worse when the instructor started creating multiple components for the website. The video seemed to be moving at a fast pace, and I found it overwhelming to keep up. After spending over 4 hours watching, I've only made it 50 minutes into the tutorial and I'm getting frustrated. As a result, I've decided to look for a different tutorial to continue with.
@CodingAfterThirty
@CodingAfterThirty 9 күн бұрын
Thank you for your feedback. I do have a fast-speaking style and should be more aware of that. In terms of help. If you ever want to ask me questions directly, I hang out at Strapis Discord Monday through Friday during their open office hours. 12:30 pm CST. You can always stop by and ask your questions directly. Also, if you want me to explain individuals topics regarding to Strapi just ask in the comments and I can make follow-up videos. 🙂
@rafayking14
@rafayking14 3 күн бұрын
@@CodingAfterThirty It would be a great favor if you could explain Strapi to us as beginners, especially the populate feature. Thanks for your humble reply!
@CodingAfterThirty
@CodingAfterThirty 3 күн бұрын
@@rafayking14 I will make a video just on populate and filtering. Adding it to my list, you make a good point, it can be confusing at first for beginners.
@outtrazd6552
@outtrazd6552 8 ай бұрын
Where is a html code?
@CodingAfterThirty
@CodingAfterThirty 8 ай бұрын
Do you mean where is the frontend code? I haven't recorded that part of the tutorial yet. It is next on my list. This tutorial was just on Strapi. You can build the front end with your favorite framework.
@PERVYSAGEPLAYS
@PERVYSAGEPLAYS 2 ай бұрын
contentstack is best
@CodingAfterThirty
@CodingAfterThirty 2 ай бұрын
What is content stack, and what things does it do better and why?
@kostjaaf
@kostjaaf 11 ай бұрын
Use DARK MODE pleeeeeaaaase xd
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
Yes, I fight my self on this question everyday. For Strapi for some reason I prefer the light mode more.
@amitsaini000
@amitsaini000 11 ай бұрын
very fast
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
Sorry for speaking fast. You can always slow it down and pause the video. But thank you for checking it out.
@AI-mf7ss
@AI-mf7ss 7 ай бұрын
I don't care about your shirt and hair, don't waste my time, focus on the content the video is intended for
@CodingAfterThirty
@CodingAfterThirty 7 ай бұрын
I am assuming you had free time to leave a comment. Thank you. Also, the intent of the video was to show my nice shirt and hair. I also happened to be doing a Strapi tutorial.
@BragiAustfjörð
@BragiAustfjörð 4 ай бұрын
You need to go slower.
@CodingAfterThirty
@CodingAfterThirty 4 ай бұрын
Thank you for your feedback, will keep it in mind for my next video.
@waqarsarwar-k8i
@waqarsarwar-k8i 11 ай бұрын
It's an amazing to learn Strapi v4 for beginers. Thanks!
@CodingAfterThirty
@CodingAfterThirty 11 ай бұрын
You are welcome 🙂
The Big Headless CMS Lie (James Mikrut)
18:14
Vercel
Рет қаралды 74 М.
Using Strapi With Supabase Deployed To Render
17:32
Coding After Thirty
Рет қаралды 8 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Content Modeling [ how to structure your data in Strapi ]
33:03
Strapi v4 Crash Course
1:25:29
Laith Academy
Рет қаралды 153 М.
The Suspense Drama: A Comprehensive Breakdown
55:40
Theo - t3․gg
Рет қаралды 121 М.
Ultimate Docker Compose Tutorial
1:03:14
TechWorld with Nana
Рет қаралды 220 М.
All 29 Next.js Mistakes Beginners Make
1:45:10
ByteGrad
Рет қаралды 159 М.
Next js Tutorial for Beginners | Nextjs 13 (App Router) with TypeScript
1:02:55
Programming with Mosh
Рет қаралды 784 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.