Thankyou for such amazing projects. Have learned so many things from you.
@surajshivan77584 жыл бұрын
i tried with the news api. its working..............really awesome man......hats off to ur explaination
@RaddyDev4 жыл бұрын
Glad to hear that! Thank you for letting me know 😋
@puranjayyadav80614 жыл бұрын
Woww dude. Really appreciate the work . Gonna add this to my project list
@RaddyDev4 жыл бұрын
I appreciate the comment! Thank you
@fluffymaverick3 жыл бұрын
The real OG of NodeJS RaddyTheBrand 🔥🔥🔥. Thanks for this.
@RaddyDev3 жыл бұрын
Haha, thank you! Happy Halloween, Alvin!
@InnovatePersonality4 жыл бұрын
It is interesting from start to end. Thumbs up
@RaddyDev4 жыл бұрын
Thank you!
@ntigirishari3 жыл бұрын
Woow!! Buddy, thank you :-) I am gonna add some bootstrap, use another API, and add some more styling and make it a project for my portfolio. Thanks again!
@RaddyDev3 жыл бұрын
Sounds great! Feel free to share the link, it would be awesome to see what you come up with
@ntigirishari3 жыл бұрын
@@RaddyDev of course!!😀
@lazartutulic75773 жыл бұрын
@@ntigirishari And wheres the link? ;P
@twn_serenity3 жыл бұрын
Thank you so much for this exceptional video!! Subscribed and will be waiting for some good content in the future!
@RaddyDev3 жыл бұрын
Thanks for watching and the sub, Wei-Ning!
@konscomputertutorials74732 жыл бұрын
Thanks for the quality tutorial it really healped
@RaddyDev2 жыл бұрын
Glad to hear that!
@NikhilDongre-lb5wu8 ай бұрын
How can we deploy this on netlify or maybe on vercel ?
@azsumusic Жыл бұрын
I am happy to have found a well-explained and above all well-ordered tutorial in the routing and inclusion of js code in html phase. A big thanks!
@RaddyDev Жыл бұрын
Great to hear!
@UsmanAhmed7142 жыл бұрын
Love...! specially for choosing this topic
@girlingame5184 жыл бұрын
happy to learn from you , very thanks for this great tutorial
@RaddyDev4 жыл бұрын
Thank you and I am glad that you found it useful 👊🦍
@Gui.castro3 жыл бұрын
AWESOME! Thanks for this tutorial and all explanation!
@RaddyDev3 жыл бұрын
Thank you, Guiherme!
@TheMicpen2 жыл бұрын
Thank you very much for sharing !
@RaddyDev2 жыл бұрын
No problem, I hope that you enjoyed it
@coincoinfpv95033 жыл бұрын
Super! That was a great tutorial! Thanks a lot :)
@RaddyDev3 жыл бұрын
Thank you!
@claarkkkm4 жыл бұрын
Well said tutorial, thank you! I hope you'll be big soon :)
@RaddyDev4 жыл бұрын
Thank you! 🦍
@enginb38183 жыл бұрын
Appreciated, very brilliant project. I really love it thank you.
@RaddyDev3 жыл бұрын
Glad that you liked it, Engin! Thank you!
@TheNamesJT2 жыл бұрын
Can you make a 1 to 2 hour video on ejs, node, express and use local storage while also use api data? also would be really awesome if at the end of the video you would show how to deploy the site.
@RaddyDev2 жыл бұрын
I will try to think of something. I need to see what free API's are out there available for everyone
@emanueltejadacoste22504 жыл бұрын
Amazing, this channel is going to bring a lot of content i know , i will share with mu friends !
@RaddyDev4 жыл бұрын
That would be awesome! Thank you very much for watching and the comment!
@tyrone12q2 жыл бұрын
I want instead of from website api, i want to get the data from a file in public folder or somewhere else.
@RaddyDev2 жыл бұрын
The process would be the same. Just grab the file from your server instead. If it's a json file you could do something like mywebsite dot com/myfile.json
@webtutorials42792 жыл бұрын
Great Video Raddy! A small issue is that my view did not load until I changed './src/views' to './src/views/partials' at 17:40 on Line No.13. Can you let us know why yours loads up ?
@RaddyDev2 жыл бұрын
On that screen the "news.ejs" file appears to look like it's inside the "partials" folder, but it's actually not. It's inside the "views" folder. I wounder if that could be it?
@HomeEntertainment-f4y4 ай бұрын
Thank you For posting such an informative video. i was able to create my own Web App with bare minimum knowledge of Node. the step by step instructions were very Helpful
@prateekgowda76534 жыл бұрын
Brilliant. Keep up the good work.
@RaddyDev4 жыл бұрын
Thank you!
@RaminS-v5w Жыл бұрын
Awesome thank you
@kunal7929 Жыл бұрын
Thank you buddy
@hardikmistry16613 жыл бұрын
great video sir nice content nicely explained every thing, that's it all I want
@RaddyDev3 жыл бұрын
Glad that you found it helpful, Hardik. Thank you for watching!
@GreenOnion8544 жыл бұрын
Can you implement a login/register/password reset features from there ? so you can add a fav section for articles. It will be huge !
@RaddyDev4 жыл бұрын
The Login/Register and password reset is definitely something that I will be doing. I am just trying to do everything step by step and we'll get there soon. Fav section is a good idea actually. Thank you for watching and thanks for your comment!
@GreenOnion8544 жыл бұрын
@@RaddyDev thanks to you. I'm trying to fetch an API from rapidAPI but it seems that it works in a different way. Quite confusing
@RaddyDev4 жыл бұрын
I would assume that the names and the object trees are slightly different. You could console log the data and then start selecting the data that you need with the dot notation. If you are getting a JSON object it should be more or less the same
@debasissaikia3044 жыл бұрын
Good content..need some more projects
@RaddyDev4 жыл бұрын
Yeah I'll be adding a lot more. Thank you!
@passionatebeast243 жыл бұрын
Thank you so much.
@RaddyDev3 жыл бұрын
Thanks for the comment!
@feefiifoofum4 жыл бұрын
Hey Raddy! New subscriber here, love the content! Quick question, if I am using the newsAPI, how do I set up the search parameters in the routes folder? I know it should be q=${search} but i am having trouble in actually implementing the form input to change the parameter for every request.
@RaddyDev4 жыл бұрын
Thanks for the sub! It won't be much different from the WordPress example. The only difference would be that you need to swap the API URL (obviously haha) and go into the articles object. You would need to render: res.render('newsSearch', { articles : newsAPI.data.articles }) And then update your newsSearch.ejs page to match the names. (example: urlToImage, title, description) I just added an example on the blog post ( Link is in the description ) - scroll to the bottom off the page and you will see it. It's getting a little messy, i need to tidy up the article one day. Thanks for the question and I hope that you stick around!
@feefiifoofum4 жыл бұрын
@@RaddyDev i got it to work! Thank you so much for the quick response. I will definetly keep up to date with your tutorials, you make these concepts easy to grasp. Keep up the good work 👏
@shubham_srt3 жыл бұрын
@@feefiifoofum hey dude can you share the files with me I am unable to implement search while using news api
@manoellopes4 жыл бұрын
Big thanks dude
@RaddyDev4 жыл бұрын
Any time! Thank you for watching
@anujupadhyay102 жыл бұрын
which is the recommended ejs plugin for vscode?
@RaddyDev2 жыл бұрын
EJS Language Support 👌
@xmxmxmxmxxmxmxmmx49813 жыл бұрын
Thank you.
@RaddyDev3 жыл бұрын
Thank you for watching!
@godpower79413 жыл бұрын
im stuck att 33:39, being told articles.foreach is not a function.
@RaddyDev3 жыл бұрын
Hi, you can reference the code here: raddy.co.uk/blog/build-news-website-with-node-js-express-ejs-wp-rest-api/
@RaddyDev3 жыл бұрын
Let me know if you are struggling to figure it out. I'll try to help tomorrow
@bieberpraba22333 жыл бұрын
@@RaddyDev i too stucked at the same
@RaddyDev3 жыл бұрын
Did you have a look at the article to see if your code is the same?
@RaddyDev3 жыл бұрын
You are probably not getting the object
@mvrkkautilya3 жыл бұрын
it is saying forEach is not an function in ejs ...... how to solve it😥😥😥
@RaddyDev3 жыл бұрын
Check the data that you are passing. forEach is an array method
@taofiqcodes43033 жыл бұрын
just watching this and love it mate...thank you so much..please can you do a tutorial on postman usage and full tutorial on API?
@RaddyDev3 жыл бұрын
Sounds good to me! I've made a note and thank you for the comment!
@taofiqcodes43033 жыл бұрын
@@RaddyDev can you share the note pls
@taofiqcodes43033 жыл бұрын
@@RaddyDev okay now i understand thank you
@vishwajeetpawar30092 жыл бұрын
can you make tutorial where we are using two or more data bases and API as well Please !! Surely Subscribed for your great teaching !!-
@RaddyDev2 жыл бұрын
I need to think of something. Thanks for the kind words and the sub!
@nqha9x3 жыл бұрын
Could you create more videos like this using nodejs, express and about e-commerce websites?
@RaddyDev3 жыл бұрын
Of course! I did create a new one recently showing you how to create a simple recipe website. It should be in my Node.js playlist if you want to check it out
@haardpatel42423 жыл бұрын
I used newsAPI then at 33:35 what should I type in ejs. Becz it is giving me error that articles.forEach() not defined ???????????????????????
@RaddyDev3 жыл бұрын
Click the link in the description. I have an example of the newsAPI at the bottom
@nuraiutegen74113 жыл бұрын
@@RaddyDev where is it ???i cant find it. i have the same problem and cant solve it
@RaddyDev3 жыл бұрын
Scroll down to the KZbin questions section raddy.co.uk/blog/build-news-website-with-node-js-express-ejs-wp-rest-api/
@ahmedahmedx96002 жыл бұрын
Hi randy, can you please tell me which monitor you are using ? And is it good for programming and color accuracy ?
@RaddyDev2 жыл бұрын
My monitors are fairly old and I am not even sure if you can still buy them. The model is Dell U2414H. They are perfect for programming, but I am not so sure about color accuracy. I can imagine that the new models would be much better.
@venkatesh27884 жыл бұрын
Please make more node projects
@RaddyDev4 жыл бұрын
I do have a few ideas on my list, but I would like to hear if you have anything in mind also? Thanks for the comment!
@venkatesh27884 жыл бұрын
@@RaddyDev you can try how to connect Node js and React js, and make any simple project
@RaddyDev4 жыл бұрын
Unfortunately I am not familiar with ReactJS, but it's something that I could explore. I mainly use Angular for my project. Thank you for the suggestion
@muhammedcansoy61312 жыл бұрын
excellent
@nabeelali58312 жыл бұрын
can you link the json file, 22:44
@RaddyDev2 жыл бұрын
raddy.dev/wp-json/v2/posts
@yishakabrham5002 Жыл бұрын
great
@SonNguyen-po5tr3 жыл бұрын
Thanks for nice tuts ,btw can you give the name of the VS theme.
@RaddyDev3 жыл бұрын
The theme is called Dracula. Thank you for watching
@habvielrgbimpc34474 жыл бұрын
If I go to the website after 20:20 I get the error "Error: Failed to lookup view "news" in views directory "./src/views"" Can you help me?
@RaddyDev4 жыл бұрын
Did you add the Templating Engine code? 15:35. Other than that, it could be something silly like a typo.
@RohitKumar-dz8dh2 жыл бұрын
Heyy Raddy love your teaching. I am practicing along with you but I get error "could not find news " while render to news.ejs page . I couldn't resolve this error , would you tell me what can be issues for this error . I want to watch this complete video please help me .
@RaddyDev2 жыл бұрын
If you are not getting news it could be my firewall. Sometimes if you make too many requests my firewall might block them. Any errors?
@RohitKumar-dz8dh2 жыл бұрын
@@RaddyDev Thanks sir resolved issues.
@5tevend3 жыл бұрын
adding the route on 17:20 didn't seem to work for me, i tried looking through SO and found a lot of different answers requiring module exports, can we not just use `app.get('/', (req,res) => res.render('news');` to render the news.ejs as our home route ?
@RaddyDev3 жыл бұрын
I've got the code on my blog and github if you want to reference it. And to answer your question, yes you can do
@kj1431 Жыл бұрын
Can we deploy this project on cyclic or any other deploying site, I am not able to deploy
@RaddyDev Жыл бұрын
I actually did a tutorial on that and used the same project as an example. Check it out on my channel
@cxnftunreal3 жыл бұрын
How were you able to run the webpage on your browser. Having issues with that
@RaddyDev3 жыл бұрын
You have to create a Node.js server and then start the server. That's the first 20 min of the video. What issues are you having?
@cxnftunreal3 жыл бұрын
@@RaddyDev I created the server using npm on my Powershell, but when I run localhost:5000 it tells me site can't be reached
@RaddyDev3 жыл бұрын
@@cxnftunreal Do you get an error in your console when you do npm start?
@cxnftunreal3 жыл бұрын
@@RaddyDev it just stops on listening on port 5000 after nothing
@RaddyDev3 жыл бұрын
@@cxnftunreal That's strange. Try a different port number. Something like 3000 or 8080...
@evanilsonp.990010 ай бұрын
Hye raddy. The first part of the project we render 10 posts, but when we search for something in specific like node, some other results will appear and they are not in these 10 posts from home page. Depending on what you search for, it'll be more than 10 posts. How can I put more visible posts at home page?
@evanilsonp.990010 ай бұрын
And another thing is when we search for something else that's not in the API, we just have a blanket page.
@realdevilman4 жыл бұрын
Awesome video!
@RaddyDev4 жыл бұрын
Thank you 😉😎
@floydfernandes88442 жыл бұрын
hi @Raddy I seem to get this error around the 20th minute mark: throw new Error('No default engine was specified and no extension was provided.'); ^ Error: No default engine was specified and no extension was provided. This is when running the localhost on browser It seems to be something with express
@RaddyDev2 жыл бұрын
it might be that you need to install ejs and then set the view engine to ejs. So install ejs: npm i ejs Set the view engine to ejs: app.set('view engine', 'ejs') Try that and let me know how it goes
@floydfernandes88442 жыл бұрын
@@RaddyDev one more question what if i want to use multiple api requests. Can i do it in the same get function or do i need a new one
@RaddyDev2 жыл бұрын
@@floydfernandes8844 You can do multiple API requests inside one Get function it's not a problem
@floydfernandes88442 жыл бұрын
@@RaddyDev if possible can youblink me to an example i cant seem to find anything
@RaddyDev2 жыл бұрын
@@floydfernandes8844 The only one I can think of is this one: kzbin.info/www/bejne/hXbHgXtqm7tqrLs but instead of an API I used a database. It's fairly long and some of the packages have changed a little bit. You'll have to dig a little bit
@kamanakarki2483 Жыл бұрын
Do we use any Algorithm here??
@RaddyDev Жыл бұрын
Yep. Nothing too complex :)
@yogesdhakal3 жыл бұрын
can you also teach us how to add pagination to the news page .. it would really mean a lot .. thank you ..
@RaddyDev3 жыл бұрын
Next time I try to do something similar (which might be very soon) I will try to incorporate one. Thanks for the suggestion Yogesh!
@yogesdhakal3 жыл бұрын
@@RaddyDev thank you.. Looking forward to it.. I completed this one and was wondering how to add pagination.. Ejs is tricky
@medurisupriya17224 жыл бұрын
I get an error, article.foreach is not a function. can somebody help me with this?
@RaddyDev4 жыл бұрын
Hi Meduri, did you managed to fix it? Check this stackoverflow. com /questions/31096596/why-is-foreach-not-a-function-for-this-object
@braiNN4 жыл бұрын
its because his data is in an array, but if you're trying to access the news api all of their data is in an object.
@66_vaibhavvarunkar604 жыл бұрын
I'm getting the same error
@66_vaibhavvarunkar604 жыл бұрын
Did you solve it ? Help will be appreciated
@RaddyDev4 жыл бұрын
@@66_vaibhavvarunkar60 the problem is what braiNN said above. Have a look at the link I posted and you should be able to solve it
@krushnakantshaha53573 жыл бұрын
If we don't enter any text in search bar then how to handle that request?
@RaddyDev3 жыл бұрын
There are a lot of options... Some ideas could be that you do a redirect to the homepage or maybe you display "No news found." with a nice layout and a big search bar. It's really up to you how you handle it. Whatever works for your application and whatever is best for conversion, ux and so on... if you were asking about the code, you can simply check to see if the input is empty and do the things I mentioned above
@krushnakantshaha53573 жыл бұрын
@@RaddyDev Okay i'll try this and thank you so much for quick response
@sharveennagendran4 жыл бұрын
what must I do to add more than one route under the routes folder? Cause right now, I did the exact same for another route, however, the new route just overwrites the previous route.
@RaddyDev4 жыл бұрын
I wounder why that is happening... I hope that I haven't made a mistake somewhere. I will look into it later and let you know. If you figure it out please let me know
@sharveennagendran4 жыл бұрын
@@RaddyDev roger that brother
@RaddyDev4 жыл бұрын
I think that the problem comes from the position of the express middlware. You can do a quick fix by adding the new page at the top. app.use('/cart', cartRouter) - new app.use('/article', newsRouter) app.use('/', newsRouter) I quite like the approach explained here and it would be fairly easy to convert to: stackoverflow.com/questions/32418963/how-to-use-multiple-router-files I hope that this helps
@sharveennagendran4 жыл бұрын
@@RaddyDev Alright, thank you. Do I need to write const cartRouter = require('./src/routes/cart'); app.use('/cart', cartRouter);? The reason I have two routers is that each router contains a different API from different sites, and I want to combine them both.
@RaddyDev4 жыл бұрын
Yeah, you do need to add the const cartRouter. It's up to you how you want to structure your code. You could have controllers also to separate your functionality. That would make things better
@jacobsilverstein17273 жыл бұрын
If you have a private API key how do you protect it? Is the JS code visible in the source code?
@RaddyDev3 жыл бұрын
In this example the JavaScript code is executed outside the web browser (back-end), so your API key won't be visible on the front-end. Thanks for the question 🙂
@tutscloud48184 жыл бұрын
Hi. when i write this ->
@RaddyDev4 жыл бұрын
It should be and or . It sounds like you have missed something. You could go on the Github page and reference the code. I hope this helps
@tutscloud48184 жыл бұрын
@@RaddyDev i did miss on some spelling :D thanks for a reply though
@jessdeng90843 жыл бұрын
@@tutscloud4818 I got the same error, how did you fix that problem? There is the red mark on what I have missed?
@waluwigii3 жыл бұрын
@@RaddyDev the < of my
@nikhilerigila10652 жыл бұрын
app.use('/', newsRouter) throwing error throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
@RaddyDev2 жыл бұрын
In your news router page, you are probably missing " module.exports = newsRouter ". I hope this helps, Nikhil!
@codingmarina73092 жыл бұрын
Hello, could vue.js be integrated into this project? Thank you
@RaddyDev2 жыл бұрын
Yes, absolutely. Instead of using EJS to render pages, you can just use Node.Js as the middle software that grabs the data and then you can use Vue.js to fetch it and render it. It's a good little challenge
@SahilSharma-pk1gg4 жыл бұрын
can you help me to fetch data from newsAPI . It's not working as that data is in object not in array.
@RaddyDev4 жыл бұрын
Yes of course. I just updated the blog post with an example of how to get the data and display it. It's at the bottom of the article and the link is in the description. I hope this helps. I've added a little bit of explanation, but I will need to go back at some point and format it better haha
@surajshivan77584 жыл бұрын
Facing issue with the last step .It gives ENOENT error
@RaddyDev4 жыл бұрын
Did you create the search.ejs file? It sounds like it's something to do with the path. Maybe you have a typo or something. You could reference the code on GitHub
@surajshivan77584 жыл бұрын
@@RaddyDev created search.ejs file and still facing the same error bro
@RaddyDev4 жыл бұрын
Could you share the code please? Maybe a GitHub link or a zip file will do
@greglouis57793 жыл бұрын
Sir how if someone want to add its own block for news on the website
@RaddyDev3 жыл бұрын
I guess you could do the same thing as long as you can get the news from an API, XML or anything like that
@greglouis57793 жыл бұрын
@@RaddyDev can i talk with you in private please? What platform can we discuss
@greglouis57793 жыл бұрын
@@RaddyDev i am actually trying to get an API from twitter as you shared in the link
@RaddyDev3 жыл бұрын
The process of making it work should be the same as WordPress - just different different naming conventions in the response object that you get
@ProdByTso3 жыл бұрын
I have got to the end of creating our application I have all the code as you do but I cant open the localhost? when I search localhost:5000 theres no error but it doesnt load the page its forever searching?
@RaddyDev3 жыл бұрын
How did you get to the end without starting the server?
@ProdByTso3 жыл бұрын
@@RaddyDev I didnt it worked when you had the 'cannot get' message when i add all the other bits of code the server still says listening but doesnt load the page
@RaddyDev3 жыл бұрын
That's strange. Have a look at the code on my blog or GitHub and see if you are missing something or have a typo. It could be something small, but without seeing the code I can't say. It's probably a typo somewhere that you have
@ProdByTso3 жыл бұрын
@@RaddyDev thanks got the source code its working now :)
@RaddyDev3 жыл бұрын
@@ProdByTso that's awesome. I am glad that it's working
@alimodz62534 жыл бұрын
If I was getting a random color from Node.js server and I wanted to apply that color to my ejs template background, how do I add that color variable to the CSS file?
@RaddyDev4 жыл бұрын
You could create a variable that holds your random color and then res.render it like so: res.render('index', { color: '#fff' }). In EJS you would have to just do to output the value. Then I guess you can add this pretty much anywhere you like. You could add it in a div with style="background color... or you could add it in body { background color ... You get the point. I hope this helps
@alimodz62534 жыл бұрын
@@RaddyDev thank you sir 👌
@ferreiradelima9611 ай бұрын
EJS Tags are not being interpreted. I already downloaded an extension for ejs on vscode but it didn't fix it.
@RaddyDev11 ай бұрын
Did you install ejs and set it up correctly? Do you get any errors? The extension is there only to help you write ejs easier. Double-check your setup, I have a lot of simple examples here on youtube and also my blog if you are struggling
@ferreiradelima9611 ай бұрын
@@RaddyDev I fixed it. thank you. I typed 'title.rendered' to be rendered. The correct form was 'article.title.rendered'
@mithunvishnu50893 жыл бұрын
how can i ge this project ? please raddy send me any link
@RaddyDev3 жыл бұрын
Hi, here is the link. raddy dot dev/blog/build-news-website-with-node-js-express-ejs-wp-rest-api/
@rajapaksha3 жыл бұрын
im using "express": "^4.17.1". and body-parser not working
@RaddyDev3 жыл бұрын
The body-parser is now part of Express. They recently changed it. Use this instead: app.use(express.urlencoded({extended: true})); I've updated the blog post
@rajapaksha3 жыл бұрын
@@RaddyDev thnkyou
@newtanagmukhopadhyay47162 жыл бұрын
Bro just a small question. why did you do app.use(express.static('public')) and then app.use('/css',express.static(__dirname+'public/css')) i mean doing only the later would have sufficed right? also,in that file news.js file, res.render('news'). what exactly is 'news' here? like is it the name of the ejs file?
@RaddyDev2 жыл бұрын
You only need app.use(express.static('public')) but the other examples where if you want to do a specific folder. I am not sure if I explained that well. Just use the first one and it will work. Regarding the news, yes that's the news.ejs file, but you don't have to specify the file extenuation name - ejs. I hope this helps!
@sairajkulkarni1347 Жыл бұрын
make a vdo on its deployment
@RaddyDev Жыл бұрын
Here: kzbin.info/www/bejne/p2mqhIp9qpelpaM
@rakeshjain21522 жыл бұрын
Hey! I thought your hosting plan was expired
@RaddyDev2 жыл бұрын
The raddy dot dev one? What happened?
@jcdsr13 жыл бұрын
It will be nice a tutorial on how to build a URL instead of using id, using the URL field or converting the title of the post into a URL
@jcdsr13 жыл бұрын
Also thanks for your tutorial
@RaddyDev3 жыл бұрын
It would have been better if I did that on this tutorial. I could do a new one with handlebars, but I need to find a good API to get some data. I don't want to use the NewsApi or WP. I will try to think of something. Thanks for the suggestion
@yaseenimuhammadraja94613 жыл бұрын
Hai sir, Great tutorial 👍. And I have one doubt that is, How to render multiple result from MySQL query on the same .ejs file on Node.js and Express?
@RaddyDev3 жыл бұрын
If you are talking about multiple records, you can just loop through the object with EJS and display the results. You can use a for each loop to do that. And if you are talking about having two different objects coming back from MySQL, you can still loop thru them, but you'll have to do that twice. You could create a new object that combines the results and then loop. I think that I said loop too many times haha. I hope this helps
@mohsinirfan44983 жыл бұрын
how can we make our rest api link
@RaddyDev3 жыл бұрын
I guess you mean to publish it with a domain name? You could use a platform like Heroku to do that. I have a video tutorial on that and there is a free tier
@mohsinirfan44983 жыл бұрын
@@RaddyDev Sir i mean that i create a rest api how to print my rest api data into html file
@RaddyDev3 жыл бұрын
@@mohsinirfan4498 you can use EJS just like I have on this video
@jianhe3 жыл бұрын
ejs if format is really very hard.
@RaddyDev3 жыл бұрын
Yeah I find it hard to type, but it's fairly powerful
@adad87954 жыл бұрын
Awesome
@RaddyDev4 жыл бұрын
I am glad that you liked it! 👌
@sanjaykandula4240 Жыл бұрын
updated api link we need
@RaddyDev Жыл бұрын
Working on it... I don't know when and what has changed in order the API not to work.
@RaddyDev Жыл бұрын
Fixed, it looks like the API has changed slightly: /wp-json/wp/v2/posts
@conormooore5192 Жыл бұрын
Hi could you make a Spotify website like this?
@RaddyDev Жыл бұрын
Using their API? I could do that. We'll need some front end JS for interactivity, but that can be done
@OhReallyHuman3 жыл бұрын
vizwishtudio code hehe... great tutorial though!
@RaddyDev3 жыл бұрын
😀 thank you
@RaddyDev4 жыл бұрын
If you want to know how to display data from the NewsAPI I just updated the article. Link in the description Update: Body-parser is no longer required as it's part of Express. Use this: app.use(express.urlencoded({extended: true})); Instead of: app.use(bodyParser.urlencoded({ extended: false }));
@RaddyDev3 жыл бұрын
@Flame Fox C:\users\flame and then the file seems fine to me. You can go do that in any folder and that's where your project will be created
@fernandosoaresdev2 жыл бұрын
Hi, great video you dropped on us! Thanks for the shared knowledge! Can you tell me what color scheme/color theme are you using? +1 Sub with the bell!
@RaddyDev2 жыл бұрын
Thanks, Fernando! It should be Dracula the free version