Build a Mock Data API with Node.js & Express
Let's have a look at how easy it is to build an API which returns lists of mock data - perfect for testing apps or UI components 😎
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #nodejs #javascript
Пікірлер: 8
After watching this back I noticed something I missed. Towards the end of this video, when setting a default "count", it's better to use nullish coalescing (??) rather than logical OR (||). This is because you may want a "count" of 0 which would be interpreted as falsy by || and give the default. See my video on the nullish coalescing operator if you'd like to know more 😬
It is a GREAT video! Thank you.
Nice!!!
@dcode-software
3 ай бұрын
😎
Good stuff! Thanks much!!
@dcode-software
3 ай бұрын
Glad you like it 😎
Thank you i am currently learning Node and this was interesting.
@dcode-software
3 ай бұрын
Nice one 👍 all the best