Javascript Fetch API With CRUD operations

  Рет қаралды 64,973

Cand Dev

Cand Dev

Күн бұрын

Learn Fetch API by create CRUD app, hope you learn a lot from this video.
If you get CORS error when try fetch the data you can use CORS is a node.js package, just go to www.npmjs.com/...
Build A RESTful API: • Build A RESTful API Wi...
Support The Channel:
paypal.me/canddev
🌎 Find Me Here:
Instagram : / candra_kriswinarto
GitHub: github.com/can...
Linkedin: / candra-kriswinarto
------------------------------
Levity by Johny Grimes / johny-grimes
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / Stream: bit.ly/2sUZMCR
Music promoted by Audio Library • Levity - Johny Grimes ...
------------------------------
#fetchAPI #javascript #enjoyCoding

Пікірлер: 75
@lolibear
@lolibear 3 жыл бұрын
Finally i learned how to use Fetch to POST, PATCH and DELETE, thanks a lot
@akshayshinde2403
@akshayshinde2403 3 жыл бұрын
Best video ever. It covered GET, PUT, POST, DELETE, PATCH. Really thank you ❤️❤️❤️❤️
@sanketsarkar9890
@sanketsarkar9890 3 жыл бұрын
Thanks for the awesome tutorial! There's no such video with such a good explanation on this topic on KZbin. But in the edit section, in the end, I had to write PUT instead of PATCH for method. Else I was getting an error. After writing PUT everything worked fine.
@testeraccount3165
@testeraccount3165 3 жыл бұрын
How would you do this using Ruby on Rails as a backend for API? This is the BEST video walkthrough I have seen for Javascript API AJAX!!!
@codeAlongwith
@codeAlongwith 2 жыл бұрын
Where is the github for this? This really has been so well done this tutorial. I appreciate it and managed to get it all to work because of you!
@BenjunOgania
@BenjunOgania 3 ай бұрын
your a life saver man thanks for this i learn how to write api not just read. New Subscriber
@CandDev
@CandDev 2 ай бұрын
Thanks for the sub!
@АндрейЖиряков-ф1ъ
@АндрейЖиряков-ф1ъ Жыл бұрын
You have helped me to solve the difficult tast . Thank you.
@gokulnair237
@gokulnair237 4 жыл бұрын
Hi Candra thank you so much for the tutorial ..I started learning node js last week and by far I have learned so much from your tutorials. I have deployed the api to heroku thanks for the tutorials..
@chandukhaleja
@chandukhaleja 4 жыл бұрын
Dude where was this video all this time?? simply awesome explanation brother.
@patricks4559
@patricks4559 3 жыл бұрын
Man you're a lifesaver, thank you for the awesome tutorial!
@krisashehi5144
@krisashehi5144 2 жыл бұрын
Best tutorial about fetching REST apis. Great job!
@divyanshsinghbhati6026
@divyanshsinghbhati6026 Жыл бұрын
SO FAR SO GOOD !! LOTS OF LOVE CAND !!! YOUR THE BEST
@jun7754
@jun7754 2 жыл бұрын
Thank you so much! It was concise and easy to understand!!
@NierozillionFx
@NierozillionFx 4 жыл бұрын
How did you connect to the mongodb database ?
@sameerkulkarni2643
@sameerkulkarni2643 2 жыл бұрын
Thanks @Cand Dev
@gulfstream1800
@gulfstream1800 3 жыл бұрын
That's an awesome step-by-step guide! Thank you!
@jhonjhonx
@jhonjhonx 2 жыл бұрын
Thanks for the tutorial! It's help a lot!
@facundoloto1514
@facundoloto1514 3 жыл бұрын
oh thanks so much, I was search for hours this
@viniciusm.m.7822
@viniciusm.m.7822 2 жыл бұрын
thanks, man! God bless you!
@ooomr.253
@ooomr.253 3 жыл бұрын
I think this is the video i wanted
@yamilaprosdocimo2294
@yamilaprosdocimo2294 3 жыл бұрын
This is right that I found, So many Thanks!
@beekaranta
@beekaranta 3 жыл бұрын
Good video, but i think you can quickly use the FormData instead of JSON.stringify({..})
@MohammadEmal
@MohammadEmal Жыл бұрын
how can we use it?
@AliferOSouza
@AliferOSouza 3 жыл бұрын
I really liked the subject ... I can create a local file and use this code ... Example: in place of fetch (URL) / fetch (File.json) ?
@manuelvelo3638
@manuelvelo3638 4 жыл бұрын
it worked excelent, thanks for this vid
@manuelvelo3638
@manuelvelo3638 4 жыл бұрын
Hi Cand!, i love this tutorial, i hava a question.. where is the code of this example?
@jsblade2770
@jsblade2770 3 жыл бұрын
your accent is adorable (23:54 data dot PUSSS lmao), that was really informative tho thanks!
@akshaypunekar756
@akshaypunekar756 2 жыл бұрын
Wow 🔥... You are amazing 😘
@marcyvillegas5443
@marcyvillegas5443 3 жыл бұрын
Great video sir! Can you post the github repo link so that we can review the code? 😊
@razahussain7413
@razahussain7413 2 жыл бұрын
Plz provide git repository for this video
@femiabitogun4331
@femiabitogun4331 4 жыл бұрын
Very good job. Suscribed!!!
@oscarlopezpalomec8789
@oscarlopezpalomec8789 3 жыл бұрын
Thank youu, very useful :)
@aalexanderb
@aalexanderb Жыл бұрын
I experience an issue. When i click edit on multiple and then choose one in the end. And then edit that one. All gets edited. Like it caches all my clicks. :/
@NierozillionFx
@NierozillionFx 4 жыл бұрын
Did you use node to start up the localhost server , how did you connect to the mongodb database
@coffeymay6775
@coffeymay6775 3 жыл бұрын
He created a local JSON database running on port 5000, not shown in video. The url he saves in a variable at the 10:13 mark is where he references it. You can also see the tab for it running at the top of his screen at 10:57.
@jhonpaulluceno8257
@jhonpaulluceno8257 3 жыл бұрын
do you have php mysql as a backend and js as a front-end tutorial?
@mikeeomega
@mikeeomega 3 жыл бұрын
Great video man
@amracethakur2886
@amracethakur2886 3 жыл бұрын
ThankYou sir
@RianY2K
@RianY2K 4 жыл бұрын
terima kasih bang tutorialnya
@WhisperingBengal
@WhisperingBengal 3 жыл бұрын
Great Content
@stuffedpeanuts
@stuffedpeanuts 2 жыл бұрын
great job
@nrlinsni
@nrlinsni 4 жыл бұрын
Thank you bang.
@rustam_dk
@rustam_dk 2 жыл бұрын
судя по записи "post threa ass" в кэше, все получилось не с первого раза 😆. И причиной того был наверное CORS
@audiospidej4401
@audiospidej4401 2 жыл бұрын
can put image in this card bootsrap
@beticohernandez9536
@beticohernandez9536 2 жыл бұрын
Como se le cearia una imagen al crud?
@asrofiamri
@asrofiamri 3 жыл бұрын
bang. tutorial pagination yang versi vanilla dong. versi react kan sudah, request yang vanilla. terimakasih.
@rangabharath4253
@rangabharath4253 3 жыл бұрын
awesome
@snovegimank6195
@snovegimank6195 3 жыл бұрын
thx so much, keep “pretty awesome” haha
@RaminArzhang-i6c
@RaminArzhang-i6c 6 ай бұрын
tanx
@anilshrestha9989
@anilshrestha9989 4 жыл бұрын
how do we get json data in a formatted way like yours ? al my json data are being displayed in a single line from localhost
@CandDev
@CandDev 4 жыл бұрын
You can use Web extension JSONView
@alexvlasov2271
@alexvlasov2271 3 жыл бұрын
pretty awesome)
@karinotadashi8393
@karinotadashi8393 3 жыл бұрын
Please help me with the error. data.forEach is not a function
@CandDev
@CandDev 3 жыл бұрын
Just make sure data have value of array, you can console.log(data) to check.
@larissavilela9866
@larissavilela9866 3 жыл бұрын
perfeito
@ReyBanYAHUAH
@ReyBanYAHUAH 2 жыл бұрын
Always remember we must repent of our sins (sin is transgression The Law Of Yahuah The Father in Heaven. The Law are The Books: Genesis, Exodus, Leviticus, Numbers, & Deuteronomy). We must repent of our sins and Have Belief On Yahusha The Messiah. HE Died and Rose three days later so that we can be forgiven of our sins! Come to HIM🙂🙂🙂🙂🙂🙂🙂
@larryjasontueno9016
@larryjasontueno9016 Жыл бұрын
How do you create the api please?
@CandDev
@CandDev Жыл бұрын
this is the link video: kzbin.info/www/bejne/gWKwo5akm7iLaNU
@NARENDRAMLCSE--
@NARENDRAMLCSE-- Жыл бұрын
Could please send source code for this......
@randomwiwer1953
@randomwiwer1953 Жыл бұрын
can you pleaase uploid the source code
@jayanthraavan6525
@jayanthraavan6525 2 жыл бұрын
Can please attach the source code ?😁
@initiala2375
@initiala2375 4 жыл бұрын
i need source code, maybe u can put it to github and add link to description. ty mas chandra. *btw udah bener gak tuh inggris gw 😆
@CandDev
@CandDev 4 жыл бұрын
Diikutin tutorialnya aja mas hahaha
@NierozillionFx
@NierozillionFx 4 жыл бұрын
Please can you explain how you are able to get this route localhost:500/api/posts Is it coming from the mongodb atlas?
@CandDev
@CandDev 4 жыл бұрын
To create the rest api you can see my previous video, link on the description.
@jakubp4734
@jakubp4734 2 жыл бұрын
man start linking github repo not your github account
@juliusv2073
@juliusv2073 2 жыл бұрын
for me data-id="${post.id}" doesnt capture e.target.parentElement.dataset.id:/
@lovelyfin00
@lovelyfin00 2 жыл бұрын
Have you found a solution
@akinayo3666
@akinayo3666 Жыл бұрын
I also noticed
@akinayo3666
@akinayo3666 Жыл бұрын
@@lovelyfin00 no, have you
@MohammadEmal
@MohammadEmal Жыл бұрын
title: titlevalue.value is not working it can make a new post but content is undefined. can you help me please
@CandDev
@CandDev Жыл бұрын
make sure the variable use camelCase titleValue.value
@MohammadEmal
@MohammadEmal Жыл бұрын
@@CandDev its still not work it can make a new post but data cant store in new post (its undefined) also not store in database
@divyanshsinghbhati6026
@divyanshsinghbhati6026 Жыл бұрын
@@MohammadEmal check the spelling at displaying fn
1.1: fetch() - Working With Data & APIs in JavaScript
15:39
The Coding Train
Рет қаралды 454 М.
Fetch API & Rendering Data with JavaScript
28:42
Code Bushi
Рет қаралды 122 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,4 МЛН
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Dogs, JavaScript & An API 🐶 Fetch, Promises & Async Await
1:09:16
LearnWebCode
Рет қаралды 97 М.
How to use fetch in JavaScript: GET, POST, PUT and DELETE requests
23:14
1.4: JSON - Working with Data and APIs in JavaScript
16:22
The Coding Train
Рет қаралды 645 М.
How to FETCH data from an API using JavaScript ↩️
14:17
Bro Code
Рет қаралды 136 М.
CRUD API Integration using Javascript HTML - AJAX CALL
17:42
balaji admane
Рет қаралды 14 М.
Fetch API JavaScript in Easiest way | Fetch API Tutorial
7:39
Code Bless You
Рет қаралды 46 М.