All Pro Web Designs > > Learning Tutorials > Programming Languages > JavaScript > Make your own mock API (super simple)
Make your own mock API (super simple)
- February 21, 2024
- Posted by: MainInstructor
- Category: JavaScript Learning Tutorials Programming Languages Repositories
![*](https://i0.wp.com/allprowebdesigns.com/wp-content/uploads/2024/02/1708518195_maxresdefault.jpg?resize=840%2C430&ssl=1)
Video Title: Make your own mock API (super simple)
-
Sale!
Wireless WIFI Repeater Extender Amplifier Booster 300Mbps
$29.99$14.99 Add to cartWireless WIFI Repeater Extender Amplifier Booster 300Mbps
Categories: Electronics, Wi-Fi Router, Wireless Wi-Fi Extender Tags: 300Mbps, 802.11N, Amplifier, Booster, Extender, mobile wi-fi booster, Remote, WIFI, Wireless, Wireless WIFI, Wireless WIFI Repeater, Wireless WIFI Repeater Extender, Wireless WIFI Repeater Extender Amplifier, Wireless WIFI Repeater Extender Amplifier Booster, Wireless WIFI Repeater Extender Amplifier Booster 300Mbps$29.99$14.99 -
Sale!
Full RGB Light Design Gaming Headset Headphones with Mic
$24.99$14.99 Add to cartFull RGB Light Design Gaming Headset Headphones with Mic
Categories: Electronics, Gaming, Gaming Headsets Tags: Design, Full, Full RGB Light Design Gaming Headset, Full RGB Light Design Gaming Headset Headphones, Full RGB Light Design Gaming Headset Headphones with Mic, Gamer, Gaming, Gaming Headset Headphones, gaming headset wireless, Headphone, Headphones, Headset, Light, Mic, Package, RGB$24.99$14.99 -
Sale!
Wireless BlueTooth Multi-Device Keyboard Mouse Combo
$39.99$19.99 Add to cartWireless BlueTooth Multi-Device Keyboard Mouse Combo
Categories: Electronics, Gaming, Gaming Keyboards, Keyboard Mouse Combos Tags: Combo, Keyboard, keyboard mouse combos, Mouse, MultiDevice, Set, WireKeyboard Mouse Combo, Wireless, Wireless BlueTooth Keyboard Mouse Combo, Wireless BlueTooth Keyboard Mouse Combos, Wireless BlueTooth Multi-Device Keyboard Mouse Combo, Wireless BlueTooth Multi-Device Keyboard Mouse Combos$39.99$19.99 -
Sale!
High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
$199.99$139.99 Add to cartHigh Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
Categories: Gaming, Gaming Chairs Tags: Adjustable, Chair, computer chairs, Desk, Executive, Gaming, Girl, Headrest, High, High Back Leather Executive Adjustable Swivel Gaming Chair, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar, High Back Leather Executive Adjustable Swivel Gaming Chairs, Leather, Lumbar, Office, Racing, Swivel$199.99$139.99 -
Sale!
Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
$29.99$19.99 Select optionsProfessional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
SKU: N/A Categories: Electronics, Gaming, Gaming Headsets Tags: Cancelling, Gaming, Gaming Headphones with Noise Cancelling Microphone, gaming headset, Headphones, Headset, LED, Light, Mic, Microphone, Noise, Professional, Professional LED Light Wired Gaming Headphones, Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone, Wired, Wired Gaming Headphones, Wired Gaming Headphones with Noise Cancelling Microphone$29.99$19.99 -
Sale!
Gaming Desk with LED Lights USB Power Outlets and Charging Ports
$349.99$249.99 Select optionsGaming Desk with LED Lights USB Power Outlets and Charging Ports
SKU: N/A Categories: Computer Desk, Gaming, Gaming Desk Tags: and Charging Ports, Charging, Desk, Desks, Gaming, gaming desk with led lights, Gaming Desks with LED Lights, Home, LED, Lights, Monitor, Office, Outlets, Port, Power, Room, Stand, USB, USB Power Outlets, White, Workstation$349.99$249.99 -
Sale!
Wired Mixed Backlit Anti-Ghosting Gaming Keyboard
$99.99$79.99 Add to cartWired Mixed Backlit Anti-Ghosting Gaming Keyboard
Categories: Electronics, Gaming, Gaming Keyboards Tags: Antighosting, Backlit, Blue, brown, Gaming, Gaming Keyboard, gaming keyboards, gaming keyboards and mouse, Keyboard, Laptop, Switch, Wired, Wired Mixed Backlit Anti-Ghosting Gaming Keyboard, Wired Mixed Backlit Anti-Ghosting Gaming Keyboards, Wired Mixed Backlit Gaming Keyboard$99.99$79.99 -
Sale!
Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
$119.99$59.99 Add to cartWireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
Categories: Electronics, Gaming, Gaming Headsets Tags: 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, ANC, Audio, Bluetooth, Cancellation, Ear, Earphone, gaming headset, Headphones, Headset, Hi-Res Over the Ear Headphones Headset, HiRes, Noise, Wireless, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Headphones, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headsets$119.99$59.99 -
Sale!
Wired Sports Gaming Headset Earbuds with Microphone
$19.99$9.99 Select optionsWired Sports Gaming Headset Earbuds with Microphone
SKU: N/A Categories: Gaming, Gaming Headsets Tags: Accessories, Earbud, Earphone, Earphones, Gaming, gaming headset with microphone, Headphones, Headset, IOS, Microphone, Sports, Wired, Wired Sports Gaming Headset Earbuds, Wired Sports Gaming Headset Earbuds with Microphone, Wired Sports Headset Earbuds$19.99$9.99 -
Sale!
150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
$49.99$29.99 Add to cart150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
Categories: Charging Stations, Electronics Tags: 150W, 150W Charging Station, 150W Universal Multi USB Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Stations, 150W Universal Multi USB MAX Charging Station, 16 Port MAX Charging Station, 3.5A, Charger, Charging, Fast, laptop charging stations, Max, Multi, Port, Stand, Station, Universal, USB$49.99$29.99
100daysofcode
Ania Kubow
api projects
API tutorial
burger api
burger list
coding bootcamp
coding projects
coding tutorial free
computer science
create an api
create an api in javascript
deploy an api
deploy api
freecodecamp
heroku
how-to
javascript bootcamp
javascript games
learn javascript
learn javascript for free
make an api
make an api easy
make your own api
Open Source
open source api
rest api
restful api
scrimba
udemy coding
A lot of you are wondering if you can interact with this data. Yes you can. You can make GET, POST, PUT, DELETE etc requests to it. You can even get an individual burger. For example if I want to get the Tribute Burger, which has an ID of 0, I would write:
fetch('https://my-burger-api.herokuapp.com/burgers/0'😉
.then(response => response.json())
.then(data => console.log(data));
Please try adding a burger to the database, deleting a burger, it's up to you. Give it a go in your console logs. 🙂
I would say this is for project use ONLY, as your POST,PUT and DELETE requests will not be 'stored' as we don't have a database.
Great stuff, Ania. I'm stuck at showing stuff in the API in nicely formatted HTML. Any help or links or hints for that? — David
Just stumbled across this after I found out that you have limited google API quota (for sheets and youtube API)
so im a complete beginner in ANYTHING coding.
would it be possible to feed the API with data like a thumbnail image file and a link with title and then for example make a chrome extension out of that, that shows those entries as "Youtube Updates" and post windows notifications when i update the API with new data (so basically everything the youtube API v3 is capable of?)
Don't register with Heroku, if you add a "mock api" it will eat you money and bill you!!
Hey Ania, thanks a lot for this superb tutorial! My question is what free alternatives can we use instead Heroku to deploy apps/apis? what would you recommend that is nice and easy? Thanks
How can you save html css JavaScript as an app?
Hey Ania, this is awesome – I'm following it to create my first API. I am 100% newbie so great easy instructions.
lol lost me with all the terminal usage,
I honestly thought you were saying "bugger"…"where I can find the bugger" etc…burger…I see, it makes sense now.
Never heard it called baggas before but thanks for the video!
Where can I get the terminal programm?
You rock – enjoyed that and did not put me to sleep like other vidz….im making a burger to celebrate.
Worked for me. Missed out the 'node' from 'node server.js' but figured it out by looking at your GH. Thanks!
Learning about API's now and this video was fun to practice making one and getting a better understanding of how they work.
I did something wrong… Sorry, will you plz delete the burgers I added?
It's working! Thanks a lot!!! ))))
I have a feeling she isnt the one coding 👀
Fantastic! Thank you so much.
excellet job
This was great help for one of my portfolio projects (and ones to follow!). Cheers Ania!
Ania, you are the YouTube Code Queen. Keep doing these. Great stuff! And if you ever feel bored and would like a cool, challenging project that will help a lot of people, shoot me a note. Let's talk. Cheers!
Interesting choice of vid thumbnail. I need to go now.
Lots of love to u 💕
This is sooo sooo cool , thank you for this amazing video , it was very helpful for me <3
Dear Ania,
I know it's almost impossible,
but I want to have boom-boom-shakalaka with you so badly
Ania, thank you so much for this!
I was wondering how do we interact with an existing database? Like if I'm using SQL server SSMS and I want to use my dbo.whatever
How do I go about that?
Thank you so much!
EXACTLY what I was looking for. Thank you!
🎃
keep going😉
Awesome tutorial!!!
bagas!
Do you have a tutorial of setting terminal like yours?
Hey Ania! Is there anyway to add a local image to my api?
Thank you for the tutorial. How would I add data ? What url structure I would use for that ?
Thank you Ania. What about the same API but with ability to make PUT/DELETE requests?
She is fascinating