Build a Mock Data API with Node.js & Express

Поделиться
HTML-код
  • Опубликовано: 24 мар 2024
  • 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

  • @dcode-software
    @dcode-software  3 месяца назад +2

    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 😬

  • @jooliel6292
    @jooliel6292 2 месяца назад

    It is a GREAT video! Thank you.

  • @kerrykreiter445
    @kerrykreiter445 3 месяца назад

    Good stuff! Thanks much!!

  • @warrickcrypto
    @warrickcrypto 3 месяца назад

    Thank you i am currently learning Node and this was interesting.

  • @offgridvince
    @offgridvince 3 месяца назад +1

    Nice!!!