NextJs 14 Dynamic XML Sitemap
10:15
MERN Starter Tutorial for Beginners
2:02:54
Пікірлер
@desenhosatrativos
@desenhosatrativos Күн бұрын
someone in 2024 to help me
@RaddyDev
@RaddyDev Күн бұрын
I'll help you even if it's 2030. What problems do you have?
@desenhosatrativos
@desenhosatrativos Күн бұрын
@@RaddyDev I made the code for the video 53:22 Home - Querying data, but it didn't work for me here
@desenhosatrativos
@desenhosatrativos Күн бұрын
@@RaddyDev hey
@RaddyDev
@RaddyDev 14 сағат бұрын
Hello, what error do you get?
@MikaelMeira
@MikaelMeira Күн бұрын
Module parse failed: Unexpected token (13:86) | | if (typeof handler !== 'function') { > throw new Error('Default export is missing in "C:\\Users\\cka\\OneDrive - Organizações\\Área de Trabalho\\projeto\\app\\sitemap.ts"') | }
@RaddyDev
@RaddyDev Күн бұрын
It could be the sitemap() function. It should look like this: export default async function sitemap() {
@MikaelMeira
@MikaelMeira Күн бұрын
@@RaddyDev Resolved: Friend, I managed to solve it after racking my brains a lot, my project was on the Desktop and One Drive, I removed it and put it in the Downloads folder, it worked perfectly!!
@Toulkun
@Toulkun 2 күн бұрын
When i upload image i get file format not accepted even though its in png format, is there any additional logic for form that need to be made or something on AWS?
@RaddyDev
@RaddyDev Күн бұрын
No additional logic is required. Do you have accept="images/*" on your file input? I wonder if it's something to do with "sharp". Can you take the sharp image optimisation off and try to upload another image
@Toulkun
@Toulkun Күн бұрын
@@RaddyDev I fixed it, i had to use formData for some reason to get actual file i think and i used ArrayBuffer. Seems like buffer is needed to read file properly for image to be recognized. I might be wrong.
@Toulkun
@Toulkun Күн бұрын
So FormData that is used is because for POST method to process the file correctly it isnt like other types where you typically can use Json or other convertors. Array buffer is needed for S3 because it accepts content in format that can be used in its Body of upload request.
@desenhosatrativos
@desenhosatrativos 2 күн бұрын
mine gave an error, this table does not appear in my terminal, with my database, like yours according to the video, I need your help, my king ___________________________________________________________________________________________________________________________________________________________ const mysql = require("mysql"); //conection poll const pool = mysql.createPool({ connectionLimit: 100, host: "localhost", user: "root", password: "mateus2003", database: "cli", }); //view exports.view = (req, res) => { res.render("home"); //conexao ao banco de dados mysql pool.getConnection((erro, conexao) => { if (erro) throw erro; console.log("Conectado como ID " + conexao.threadId); connection.query("SELECT * FROM cli", (err, rows) => { connection.release(); if (!err) { res.render("home", { rows }); } else { console.log(err); } console.log("Os dodos das tabela estao sendo usado: ", rows); }); }); };
@williamyanney6071
@williamyanney6071 3 күн бұрын
Thanks for the Tutorial, u made me understanding on MERN Stack good. Hope to find more great content..Bro.
@karthiclokesh7738
@karthiclokesh7738 3 күн бұрын
How do I get the url back from s3?
@RaddyDev
@RaddyDev Күн бұрын
You should already have the Bucket URL and the file name can be stored somewhere on upload. This way you can put them together whenever required. Example: mybucket dot com/myfile
@ZaibGsm
@ZaibGsm 3 күн бұрын
Oh, man I was trying to achieve this functionality earlier and I couldn't do properly in JS how to handle formData so now I got , I was trying to use multer/fs/path but no one work for me I am a mern stack dev 🥹
@user-bf8hi1ev7m
@user-bf8hi1ev7m 3 күн бұрын
Great tutorial. Thank you. By the way, how we deploy different environments which are bound to different branches
@prashlovessamosa
@prashlovessamosa 4 күн бұрын
Thanks for sharing Raddy
@RaddyDev
@RaddyDev 4 күн бұрын
I hope that you find the video useful and if you have any related questions please ask
@maxmurakami-moses4728
@maxmurakami-moses4728 4 күн бұрын
Can you create a tutorial with all the privacy things turned on? I don't want anyone on the web to be able to access my files.
@RaddyDev
@RaddyDev 4 күн бұрын
You can turn the privacy ON and nobody is going to be able to access them. If you want to allow access to a specific IP, that's possible too. A good example of how to do this is provided in their documentation, which you can find near the Bucket Policy text area.
@AtaGowani
@AtaGowani 4 күн бұрын
Great video! Cyclic is unfortunately shutting down :(
@RaddyDev
@RaddyDev 4 күн бұрын
That's a shame 😔
@maxmurakami-moses4728
@maxmurakami-moses4728 6 күн бұрын
Could you create a tutorial that uses pre-signed urls? Would be huge!
@maxmurakami-moses4728
@maxmurakami-moses4728 6 күн бұрын
Could you do a tutorial with pre-signed url's for security cases?
@DanielPenaloza-fj8yo
@DanielPenaloza-fj8yo 8 күн бұрын
What an awesome and extremely useful video, thanks a lot! I've been searching for something like this for a long time. Can you do this with Docker? It would've great, anyway, a new subscriber.
@karthickk512
@karthickk512 9 күн бұрын
Great, But How to work React js anyone and me ? 😢
@RaddyDev
@RaddyDev 4 күн бұрын
Have you had a look at the documentation? They have a super simple example to get you started with React
@tanmaypant8493
@tanmaypant8493 10 күн бұрын
THANK YOU SOOOOO MUCH FOR THIS MASTERPIECE!! I am really looking forward for more on aws!
@mehemmedrustemov9154
@mehemmedrustemov9154 10 күн бұрын
Hello, it gives error when I fetch api from graphql. I can not find out real reason, does anyone have any idea ?
@RaddyDev
@RaddyDev 10 күн бұрын
What error do you get?
@collinsk8754
@collinsk8754 10 күн бұрын
Very clear and easy to follow 👏👏
@SirapanasettyBhargav
@SirapanasettyBhargav 10 күн бұрын
[2024-05-07 11:07:04] REMOTE_WORKSPACE_PATH = c:/Users/sirap/AppData/Roaming/Code/User/globalStorage/humy2833.ftp-simple/remote-workspace-temp [2024-05-07 11:12:46] Handmadehavens - FTP Connecting... [2024-05-07 11:12:46] Handmadehavens - FTP close!! instaed of getting open i am getting ftp close pls help me!
@olga_c
@olga_c 12 күн бұрын
Hi and thanks for the video! I am pretty new to Wordpress and was wondering what would be an approach if you have to make a complex frontend, the one with custom carousels, dropdowns, comlpex layouts, external libraries, a lot of JavaScript and styling? I am currently using classic theme for that type of projects. Is it possible to make complex layouts with modern block editor and fse? And is it worth the effort? Thanks a lot again, the video is 👍
@RaddyDev
@RaddyDev 10 күн бұрын
Hello! If you are looking to create more complex sections, you can do that by making your own custom block. The "Block Editor Handbook" has a handy tutorial to get you started. You can use ReactJs to do that and in terms of libraries and styling you can do pretty much whatever you want. Everything integrates well with the block editor, which ultimately will make it easy to update and change settings. Regarding the effort involved, it depends on the context. If you are making a custom theme to sell it's defiantly worthwhile as it makes it super easy for the end-user to customize their theme. For example if you had a Slider, you can have an option of how many slides to show
@olga_c
@olga_c 10 күн бұрын
​@@RaddyDevthanks for the answer! Making blocks with React really looks like a way to go for creating a reusable theme or plugin. On the other hand, it looks like an overhead if you only need to create layout for a single website. I was thinking of Acf blocks instead, anyways you end up using Acf on larger and heavily customized projects. I am quite concerned with keeping styles consistent on frontend and admin dashboard though, it might be harder than it looks
@RaddyDev
@RaddyDev 3 күн бұрын
It might be wroth sticking with using a classic theme. Check out this article about the state of WordPress: dbushell.com/2024/05/07/modern-wordpress-themes-yikes/. Maybe Classic is the way to go when it comes to custom development
@olga_c
@olga_c 3 күн бұрын
@@RaddyDev thanks for the article, that's exactly the point. If you look at classic theme files, you can see the logic behind it. But with block themes, the structure and code looks so messy that I have no idea where to begin and how to scale the project. Plus there is no good guide or starter template for custom development. I am still planning to try out Acf blocks on a pet project though 😅
@asfandyar8088
@asfandyar8088 12 күн бұрын
Great video sir. thank you very much
@vasuchourasia8021
@vasuchourasia8021 12 күн бұрын
can someone help with this issue when i am trying to sign-in OR SIGN-UP through my phone it is saying "this site can't be reached localhost refused to coonnect try:checking the connect ERR_CONNECTION_REFUSED"
@RaddyDev
@RaddyDev 12 күн бұрын
If you are testing locally, are you using your IP instead of localhost on your phone? You might just need to add that IP in Google Cloud where you set up the redirect URL. If you publish your website that you need to be replaced with your Domain name and it will just work. I hope that. Makes sense
@vasuchourasia8021
@vasuchourasia8021 12 күн бұрын
@@RaddyDev ok i will add that ip address in google cloud ..thank you so much Raddy learned so much from this project🤗
@T_Mochamad_Rafly
@T_Mochamad_Rafly 12 күн бұрын
is there any way i can add login into this web?
@21-abhikhillare8
@21-abhikhillare8 12 күн бұрын
bro your code is working ?
@21-abhikhillare8
@21-abhikhillare8 12 күн бұрын
pls help i have to submmit the this project tomorrow
@silakweb
@silakweb 12 күн бұрын
Excellent tutorial. I followed it without knowing English and it helped me much more than others in Spanish. Using the translator to write this to you and thank you. Greetings from Argentina
@alifhakimi3807
@alifhakimi3807 13 күн бұрын
Hi, why do I get Note.count is not a function in dashboardController? Please helppp
@RaddyDev
@RaddyDev 13 күн бұрын
Can you try countDocuments({}) instead
@alifhakimi3807
@alifhakimi3807 11 күн бұрын
@@RaddyDev yep it works great now
@mohammedal-khafaji7298
@mohammedal-khafaji7298 14 күн бұрын
Amazing. It's worked perfectly, But I have one issue I hope you give me how to fix it. I have API in my app like "app/api/story/route.ts" and this API works as well on localhost and also on "Vercel" server without any issue, but on Ubuntu server when I open the link /api/story" and all other API routes same I got an empty page without any data. I hope you can help me or give me the steps to solve this issue because I need to send this API to React Native app
@RaddyDev
@RaddyDev 13 күн бұрын
In this case, your URL will become /api/api/story . To test I just made a route like that and I can confirm that it works locally and on Ubuntu. Are you sure that it's not something else? Are you getting any errors?
@sagarbiswal-ch9uv
@sagarbiswal-ch9uv 14 күн бұрын
can anyone can say from where i can use images which is used in this for creating this website
@RaddyDev
@RaddyDev 14 күн бұрын
All assets should be included in the project folder on GitHub. The illustrations are from Open Peeps by Pablo Stanley
@himanshuagarwal7925
@himanshuagarwal7925 14 күн бұрын
Brother i will cry after 3 hours of going insane i end up here and its all clear to me now and it worked. Thank you very much for this video.
@RaddyDev
@RaddyDev 14 күн бұрын
You are most welcome brother. I am glad that you found the video helpful
@ead5590
@ead5590 16 күн бұрын
Tough luck guys. Cyclic is shutting down as per their recent blog article. By the 31st of May, 2024, all tiers will be shut down while the free tier will be shutting down by May 10th. 😢 Good news is, after an hour of digging around on the internet, there's something similar to Cyclic called Koyeb. Google it. Hopefully this helps.. ✌🏻
@danimusbar
@danimusbar 17 күн бұрын
Please make another tutorial using different stack like phoenix framework for this CI CD
@iamvinny
@iamvinny 17 күн бұрын
so many useless steps making the video long, we all know how to setup a vps and make it accessible via ssh key.
@dekafmusic
@dekafmusic 14 күн бұрын
Some people may want to know tbh
@shafiq_ramli
@shafiq_ramli 13 күн бұрын
I think that's why there's timestamp.. 🤔😂
@dekafmusic
@dekafmusic 13 күн бұрын
@@shafiq_ramli sure nice seeing people still active on this video. Wishing you Goodluck on your deployment
@theanhcotam
@theanhcotam 18 күн бұрын
rất dễ hiểu
@samjacker
@samjacker 19 күн бұрын
man cyclic shut down my server bcs they're gonna stop the free trial
@RaddyDev
@RaddyDev 17 күн бұрын
It's a shame that they are closing down
@samjacker
@samjacker 17 күн бұрын
@@RaddyDev sad
@howinon6993
@howinon6993 20 күн бұрын
Hello. I search you on your site, you made the real fire!
@NikhilDongre-lb5wu
@NikhilDongre-lb5wu 20 күн бұрын
How can we deploy this on netlify or maybe on vercel ?
@munawwarhussain9764
@munawwarhussain9764 20 күн бұрын
sir which vs code theme are you using
@RaddyDev
@RaddyDev 17 күн бұрын
Dracula
@munawwarhussain9764
@munawwarhussain9764 17 күн бұрын
​@@RaddyDevthank you raddy sir for reply Currently I am preparing for job and freelancing and the content of your channel is very helpful for me God bless you sir and have a great day
@weewoo6480
@weewoo6480 23 күн бұрын
the intro animation makes me wanna puke but good guide nontheless
@armandaarif
@armandaarif 23 күн бұрын
Thankyou for the tutorial. In my case, the actions/setup-node is always fetching node from github, and it takes forever. My fix is to use nvm to manage the node version on the server, then skip the actions/setup-node in the .yml file
@adinathbabu
@adinathbabu 23 күн бұрын
Can you please upload a video on .hbs hosting in any cloud
@patrickt4279
@patrickt4279 23 күн бұрын
Subscribed. Great stuff.
@nymoz3587
@nymoz3587 24 күн бұрын
For Mac the F1 is CMD-Shift-P.
@eloquentsites
@eloquentsites 25 күн бұрын
I enjoyed every bit of the tutorial. Thank you
@RaddyDev
@RaddyDev 25 күн бұрын
Preventing spam can be challenging, even with reCaptcha, but it adds an extra layer of protection. You can also validate the email before sending requests. I hope this saves you some time :)
@harrypham6337
@harrypham6337 25 күн бұрын
Thank you so much for the video. You save my day!!!
@shudderranz5919
@shudderranz5919 27 күн бұрын
11:50
@HamzaKhanOfficial
@HamzaKhanOfficial 27 күн бұрын
Im getting this error when i try to update wordpress "The update could not be installed because the files could not be copied. This problem is usually due to incorrect file permissions.: wp-admin/includes/update-core.php" how can i solve this problem?
@RaddyDev
@RaddyDev 26 күн бұрын
You need to change your file/folder permissions. I made a simple guide a while back: raddy.dev/blog/aws-lightsail-fix-wordpress-file-permissions/
@zaheerasghar5133
@zaheerasghar5133 28 күн бұрын
Excellent work 👍
@milanpoudel7212
@milanpoudel7212 28 күн бұрын
will this work in pages router or not?
@RaddyDev
@RaddyDev 27 күн бұрын
I am not sure about the page router. Have a quick look into the official documentation. I am sure that they will have something there
@codewithmorkeh
@codewithmorkeh 28 күн бұрын
This is great