Full React Tutorial #16 - Using JSON Server

Поделиться
HTML-код
  • Опубликовано: 7 янв 2021
  • JSON server tutorial - • Up & Running with JSON...
    🐱‍💻 🐱‍💻 Course Files:
    + github.com/iamshaunjp/Complet...
    🐱‍👤🐱‍👤 JOIN THE GANG -
    / @netninja
    🐱‍💻 🐱‍💻 My Udemy Courses:
    + Modern JavaScript - www.thenetninja.co.uk/udemy/m...
    + Vue JS & Firebase - www.thenetninja.co.uk/udemy/v...
    + D3.js & Firebase - www.thenetninja.co.uk/udemy/d...
    🐱‍💻 🐱‍💻 Helpful Links:
    + HTML & CSS Course - • HTML & CSS Crash Cours...
    + Modern JavaScript course - • Modern JavaScript Tuto...
    + Get VS Code - code.visualstudio.com/
    🐱‍💻 🐱‍💻 Social Links:
    Facebook - / thenetninjauk
    Twitter - / thenetninjauk
    Instagram - / thenetninja

Комментарии • 170

  • @hamzahmd_
    @hamzahmd_ 2 года назад +110

    Honestly, I really like his react tutorials not only because of his British accent but he also explained them quite remarkably.

    • @Banjer
      @Banjer 2 года назад +5

      true..but I guess he has more an Irish accent than British....

    • @kashmirtechtv2948
      @kashmirtechtv2948 2 года назад

      @@Banjer may be

    • @peekaboosteam
      @peekaboosteam 2 года назад +2

      @@Banjer It's definitely English. I'd guess Manchester-ish, perhaps Preston.

    • @phucnguyen0110
      @phucnguyen0110 2 года назад +3

      @@peekaboosteam I remember he mentioned in the past that he's from Manchester. Or maybe the information was shown on his blog or something similar in one of his tutorial series, idk.

    • @petrostragoudaras
      @petrostragoudaras Год назад +1

      it's a bit noice innit? :P

  • @WaddupBoi
    @WaddupBoi Год назад +24

    These bite size tutorials are so much better than slogging through 2+ hour ones.

  • @fethidogan89
    @fethidogan89 2 года назад +49

    {
    "blogs":[
    {
    "title":"My First Blog",
    "body":"Why do we use it?
    It is a long established fact that a reader will be distracted ",
    "author":"mario",
    "id":1
    },
    {
    "title":"Opening Party",
    "body":"Why do we use it?
    It is a long established fact that a reader will be distracted ",
    "author":"yoshi",
    "id":2
    }
    ]
    }

  • @erkkasep
    @erkkasep Год назад +37

    I have learned more in this 3 hours course than in 30+ hours of Udemy courses. You are amazing.

    • @NetNinja
      @NetNinja  Год назад +10

      That's awesome to hear, thank you! :)

    • @juliigameplays
      @juliigameplays 6 месяцев назад

      Same I agree. I learned much better with these videos rather than Udemy's

  • @donnazukowski
    @donnazukowski 2 года назад +21

    Shaun is the best teacher period. I've been trying to learn React and spent quite a few $$$ but with this one, it's all making sense. BTW, as of 2/11/2022, I just ran the JSON Server npx command in a new terminal and it worked like a charm.

    • @Wangaruro
      @Wangaruro 2 года назад

      I second you on this!!! He has a unique teaching style that makes it easy to understand.

  • @mmmisaaagh
    @mmmisaaagh Год назад +3

    Halfway through and I have to say: you are a phenomenal educator. You are doing a great job explaining everything. After every short session I have more confidence in what I just learned. Thank you.
    Great job and keep up the good work!

  • @paulfg1967
    @paulfg1967 Год назад +1

    I am an 'older' new to coding just approaching the end of a 3 month bootcamp. I have learnt more from the Full Modern React Tutorial than anything on the bootcamp. Well done Net Ninja, you are a very talented teacher and thanks for putting these out there, and yeah as a Prestonian (living in Manchester) your Manchester accent helps!

  • @iltanoia6865
    @iltanoia6865 3 года назад +24

    Modern Redux should be the next playlist! best teacher on youtube along with traversy media ahha

  • @davidho1258
    @davidho1258 3 года назад +10

    I've been using json server as part of my workflow since the series you did 2 months ago. thx net ninja

  • @erickbroos7233
    @erickbroos7233 3 года назад +38

    npx json-server --watch data/db.json --port 8000

    • @alcezeri
      @alcezeri 3 года назад +2

      sudo npm i json-server -g
      use without npx :)

    • @annisaautami
      @annisaautami 2 года назад +1

      @@alcezeri thank you!

    • @alcezeri
      @alcezeri 2 года назад

      @@annisaautami We give free javascript course every weekend on saturday-sunday

    • @Mr___Khan1
      @Mr___Khan1 25 дней назад

      Jazak Allah Brother ♥️☝🏻

  • @sofiatruta2
    @sofiatruta2 7 месяцев назад

    I am doing a coding bootcamp and I'd be lost without your tutorials! you explain everything so well that it helps me truly understand what is going, I watch them after class to bring everything together - thank you!

  • @sinhaneha1987
    @sinhaneha1987 Год назад

    Thank you for showing a perfect way of running JSON-server with my existing React app for testing purposes.
    This was a wonderful solution, not discussed in tutorial/blogs I had seen soo far.

  • @satyamsaurabh8583
    @satyamsaurabh8583 3 года назад +6

    The Best Ever Instructor on RUclips🙂

  • @islamgoher
    @islamgoher 2 года назад +23

    If anyone may face this Error in the terminal
    """"" Oops, data/db.json doesn't seem to exist.
    Creating data/db.json with some default data """".
    the solution is to 'Go to the folder where your db.json file resides. then run the command json-server --watch db.json
    in terminal and it would work with you.

    • @pauloferreira4040
      @pauloferreira4040 2 года назад +10

      I got a similar error, but I realized that the folder data was not created in the right spot (directly under the DOJO-BLOG), but rather in the src directory. So my solution was just to drag and drop the folder data at the very bottom of the project explorer area (the left area that displays all sort of project files) and by moving data to the right location, the command shown in the video works.

    • @rtubiras644
      @rtubiras644 2 года назад

      Thank you so much! ☺️☺️☺️☺️

    • @firstname-nq7qc
      @firstname-nq7qc 2 года назад

      thx!

  • @asimssheikh
    @asimssheikh 2 года назад

    Best explanation of React I have seen on youtube.

  • @minou00701
    @minou00701 3 года назад +6

    the net ninja is definitemy the best of ninjas , kudos mate :)

  • @mickelelkhoury2378
    @mickelelkhoury2378 3 года назад +8

    Shaun you are a legend!!

  • @annisaautami
    @annisaautami 2 года назад +9

    for anyone experiencing an error said "could not install from [your computer name] as it does not contain a package.json file" when run the npx json-server --watch data/db.json --port 8000 command, please run this command first "npm i json-server -g" it works for me.

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

      Thank you!

    • @adhamahmad4590
      @adhamahmad4590 Месяц назад

      I know this is old but thank you sm

  • @neehargadam1613
    @neehargadam1613 2 года назад

    The Best Teacher on the internet, Thank you Shaun

  • @jayashriborse8783
    @jayashriborse8783 Год назад

    Thank you very much! Great tutorial! I already know basic react. But from this series, I learned lot of new things.

    • @NetNinja
      @NetNinja  Год назад

      Glad it was helpful! :) thanks Jayashri

  • @jaidervanegas255
    @jaidervanegas255 Год назад

    You never disappoint, man.

  • @abdulkadirguven1173
    @abdulkadirguven1173 Год назад

    I appreciate a lot your tutorials. Thanks a lot.

  • @Zephyr-tg9hu
    @Zephyr-tg9hu 2 года назад +3

    If anyone else was having trouble running json-server try "json-server --watch data/db.json --port 8000" and omit the npx part.

  • @HaiderAli-oi5fm
    @HaiderAli-oi5fm 3 года назад +3

    This json server really saves my neck from creating database. Its really a good thing you have taught me to play around with the app. 3:29 I marked the time for future reference. Thank you Shaun!

    • @kashmirtechtv2948
      @kashmirtechtv2948 2 года назад

      How have you marked the time?

    • @HaiderAli-oi5fm
      @HaiderAli-oi5fm 2 года назад

      ​@@kashmirtechtv2948 Just wrote the time to mark it just like we drop the pin on the map to mark the location.

    • @kashmirtechtv2948
      @kashmirtechtv2948 2 года назад

      Si a g

  • @batu4605
    @batu4605 Год назад +2

    There is NO course well explained form React js but i saw your courses im surprized. You have unique teaching style and explaining little things for understand and combine all theese things. Thanks ❤️

    • @NetNinja
      @NetNinja  Год назад +1

      Wow, thanks Batu :) that means a lot

    • @batu4605
      @batu4605 Год назад

      @@NetNinja Can you make Pinia state managment videos for VUE JS if possible?

  • @KhaledSAB
    @KhaledSAB 3 года назад

    Great tutorials ...thank you so much

  • @ucthanhle7029
    @ucthanhle7029 Год назад +2

    If any one have problem when running npx json-server --watch data/db.json --port 8000 and you are using powershell on terminal. (It didn't run like me)
    Try to switch to Command Prompt instead of powershell on terminal.
    Hope this will help :"3
    Thank Net Nija for this tutorial

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

    this tutorial is great because every videos is short and totaly useful tnx :)

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

      Thanks :) that means a lot

  • @razaj
    @razaj Год назад +2

    Hi I'm having a problem, when trying to start the server with "npx json -server watch data/db.json --port 8000", it returns " json: error : unkown option '-s' ". I'm not sure how to fix that or work around it

  • @Soap_js
    @Soap_js 2 года назад +33

    Great Tutorial but i think you did not mention that we need to have the json-server thing installed before we can ues the npx json-server command
    do npm install -g json-server to install it and then run the command

  • @caanha
    @caanha Год назад

    Really really nice teaching you present. But I wish you would include the DB (SQLite) part since it so common. But Thank you for making sense to React!

  • @alltoall
    @alltoall Год назад +1

    Amazing Explanation Thanks, Sir!!!

  • @JiteshGosar
    @JiteshGosar 2 года назад

    Thank you for the fantastic tutorial.
    Is there any video showing how to connect react with SQLite database?
    Since I have a ".db" file, I need to display its contents using react.

  • @mwebazenicholas7075
    @mwebazenicholas7075 Год назад

    Thanks for the great explanations your teaching is on another level.
    I have an inquiry, how can I deploy a JSON server file so that data can be accessed globally from anywhere other than from the local server? I will be glad to have your positive feedback

  • @mymarginalia8349
    @mymarginalia8349 3 года назад

    Is there a way to have localhost:8000 show the default homepage? As it is, it would try to render the react public folder, but is there a way to tell it to ignore that?

  • @afewthoughts7755
    @afewthoughts7755 2 года назад

    I'm curious if you can do Solidity or any web3 related content tutorials(you are really a good teacher)

  • @kashmirtechtv2948
    @kashmirtechtv2948 2 года назад +1

    I didn't get about the 2 options you have told about installing Json pakage. Can someone guide?

  • @erickbroos7233
    @erickbroos7233 3 года назад

    gracias ! thank nice video

  • @maureenifeoma3969
    @maureenifeoma3969 2 года назад +1

    Your teachings are very easy to understand and I want to say very big thank you for that. But I have errors trying to use the json server, it's giving a lot of errors, I would like some help with it, Thank you and I will be waiting

  • @charlesloehle7998
    @charlesloehle7998 3 года назад

    If you are having trouble making json server work, another thing i did that worked was re-run yarn start

  • @user-yj2hz4mp4h
    @user-yj2hz4mp4h 5 месяцев назад

    do you have videos on how to fetch data from backend api through react then post those on a website, or using wordpress?

  • @roshdyessam3480
    @roshdyessam3480 3 года назад +1

    Amazing

  • @sojumoscow
    @sojumoscow 2 года назад +1

    I have an error when im doing json thing. I put exactly what you code but it gives me error.
    npm ERR! code ENOLOCAL
    etc etc

  • @tarekghosn3648
    @tarekghosn3648 Год назад

    you my man. are awesome.

  • @taofiqcodes4303
    @taofiqcodes4303 3 года назад +1

    Hi Shaun and everyone here, please how can I make my dbjson file work on other devices apart from my PC

  • @patshalaaa
    @patshalaaa Год назад

    you are awesome
    💟

  • @sangdilbiswal30
    @sangdilbiswal30 11 месяцев назад

    how can this amazing content be free. Hats off to you man!

  • @syedabdullah6815
    @syedabdullah6815 2 года назад

    Amazing Explanation!
    but can I do this JSON database thing in Next.js?
    please help.
    Thankyou

  • @geraldinerios7068
    @geraldinerios7068 2 года назад

    thank you, this video help me to create an api fake with json server, i have an error and that was from the terminal, i didn't know that i need open an individual terminal in my vs code

  • @ibukunagotola3495
    @ibukunagotola3495 Год назад

    Thank you Mr Net Ninja, please how can I use firebase database instead of local json server.

  • @realtorBG
    @realtorBG 3 года назад

    verygood course....is it possible to make React + Ant Design please

  • @dever312
    @dever312 11 месяцев назад

    Where do front-end developers hold the data? I know things such mockAPI, Fire Base. But what is the regular one devs actually use? Can i use just json request (localhost) then deploy it?

  • @amjadaliafridi1023
    @amjadaliafridi1023 Год назад

    favorite teacher

  • @subee128
    @subee128 Год назад

    Thanks

  • @vallydon1788
    @vallydon1788 Год назад

    Good tutorial. Please I am getting error when installing the Json server. How can I correct it, please.

  • @ghwhg341
    @ghwhg341 Год назад

    Just a dumb question. Both GET and DELETE requests use the same endpoint /blogs/{id}, how does the server know which is the action I intended to do?

  • @mehmetsayn573
    @mehmetsayn573 3 года назад

    adamim supersin:)

  • @jotasenator
    @jotasenator 2 года назад

    Good evening everybody. Is there a 'how' of nesting data in this json server data.?

  • @dev504
    @dev504 2 года назад

    this shows when I try to use command
    When I try to run the command this shows
    Error: EPERM: operation not permitted, mkdir 'C:\Users'
    command not found: json-server

  • @01dicktracy
    @01dicktracy Год назад

    Thank you!

    • @NetNinja
      @NetNinja  Год назад

      You're welcome Erman!

  • @bewareofsarcasm775
    @bewareofsarcasm775 10 месяцев назад +1

    can we host the json server on the internet using netlify

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

    Awesome!

  • @Mahmudulhasan-ts5hm
    @Mahmudulhasan-ts5hm 3 года назад

    thanks

  • @chiranjeevichowdary5948
    @chiranjeevichowdary5948 3 года назад

    Is this also a way of storing data in local storage

  • @KtNizin
    @KtNizin 2 года назад +3

    npx: installed 1 in 4.974s
    json: error: unknown option "--watch"
    why is it showing like this?

    • @leonardobruksch8603
      @leonardobruksch8603 Год назад

      got the same error. i am on a mac an was using the app "notes" to copy the command to the terminal. turns out the dashes were being converter to a dif character. try typing directly in the terminal :) worked for me

  • @ridl27
    @ridl27 3 года назад

    ty.

  • @sharriceowens913
    @sharriceowens913 3 года назад

    my terminal has 1:bash instead of node is that alright?

  • @lostbear1600
    @lostbear1600 8 месяцев назад

    hi, when i tried to run npm i json-server --watch data/db.json etc. etc. on vscode terminal, a small window pops out asking me to connect to github (sth about connecting github and vscode...), not sure why, is this happening to anyone?

  • @oluwatoyinj8991
    @oluwatoyinj8991 Год назад

    How do I host this app in codesandbox? I get the "failed to fetch" error after hosting it. How do I fix this error please

  • @premprem4095
    @premprem4095 11 месяцев назад

    Finally I found a solution for my error here.

  • @kelvinamoaba9634
    @kelvinamoaba9634 3 года назад +1

    I thought I was the first to watch😂

  • @user-ht4je5ix2c
    @user-ht4je5ix2c 2 месяца назад

    Pls why is that json server can't display imagies.. I'm having issues on that,i need help

  • @sakibhasan2592
    @sakibhasan2592 3 года назад +9

    hey shaun? do you have any plan for FullStack dev

    • @sakibhasan2592
      @sakibhasan2592 3 года назад

      @@raslanismail9691 yeah but I am struggling to start my MERN scack project...:-)

  • @xenoxel
    @xenoxel Год назад

    I am am getting the error, uncaught TypeError: blogs.map is not a function. Does anybody know how to solve this error i have tried to run the code from github but still get he same error. I am using vs code.

  • @naps7441
    @naps7441 2 года назад

    What do I do if I want to edit a blog? Can anyone help me regarding this?

  • @jengzarate9087
    @jengzarate9087 Год назад

    im getting an error : enoent : no such file or directory pls help

  • @hoanglongpham5907
    @hoanglongpham5907 3 года назад +1

    hello Shaun, can you make a video for Route ??

    • @NetNinja
      @NetNinja  3 года назад +2

      That will come later in the series :)

  • @thebeerministry
    @thebeerministry 3 года назад +3

    I'm getting thin error😞😞
    After running 3:18 npx thingy
    Error: EPREM: operation not permitted, mkdir 'C\usere\username'
    Command not found: json-server
    Edit : 😁😁😁😁
    It worked, sm1 at stack.o said run cmd w adminstrator
    Sooo 🍉✨✨!!

    • @born_to_matter2140
      @born_to_matter2140 3 года назад

      how did it work can you pls explain

    • @gowrisankarpokuri
      @gowrisankarpokuri 3 года назад

      @@born_to_matter2140 This error comes when your username has a spaces. For this one you would have to replace the username on the path for npm config that has spaces with the alternative username windows generates which you can get by using the cmd DIR /X if you are in the location. "c:\Users\". After getting the alternative name you have to run this command. npm config set cache "C:\Users\\AppData\Roaming
      pm-cache" --global

  • @ChandanKumar-of1je
    @ChandanKumar-of1je 2 года назад

    Request you to make a project series using Nodejs* & React* , very next or later..

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

    SyntaxError: The requested module 'node:util' does not provide an export named 'parseArgs'

  • @Se.mu01
    @Se.mu01 3 года назад

    🙏

  • @MaksymMinenko
    @MaksymMinenko Год назад

    Actually, json-server has an option: --delay ... , so there's little point in using setTimeout.

  • @PhongVNguyen123
    @PhongVNguyen123 Год назад +1

    for my future ref: npx json-server --watch data/db.json --port 8000

  • @yeppa31
    @yeppa31 2 года назад +1

    Just imagine when u are a kid and ur math techer is him...

  • @pitpat6319
    @pitpat6319 2 года назад

    I can't get localhost:3000 or localhost:8000 working. Help ;__;

  • @54321conor
    @54321conor 2 года назад

    I got pretty lost here, It's my first time ever hearing about json, along with ports, etc. and my first time using the terminal and node.js was at tutorial 1 of this series 😅 Is it normal to be this lost or did anyone else feel the same?
    Again, another noob statement, but if anyone can recommend where I can learn more about the terminal and everything, I would really appreciate it. I will watch Net Ninjas tutorial on Json, but I feel the terminal is important to understand first before I look at json, no?

    • @adeleke5140
      @adeleke5140 2 года назад

      Hey Courage, how are you know with react? The first time I went through React, it was also super confusing. But as you learn more JS and write more react, you get used to it. don't feel bad if it is taking time for you to get everything. For learning about the terminal, are you on windows or mac? this is a good place to start from ruclips.net/video/CV-ven_rxhw/видео.html&ab_channel=WebDevSimplified

  • @kashmirtechtv2948
    @kashmirtechtv2948 2 года назад

    Shaun bro. Update the error command for the newbies. Thanks

  • @Amauriking
    @Amauriking Год назад +1

    If anyone wants just a json sample
    {
    "blogs": [
    {
    "title": "My first blog!",
    "body" : "lorem ipsum",
    "author": "mario",
    "id": 1
    },
    {
    "title": "My second blog!",
    "body" : "lorem ipsum",
    "author": "yoshi",
    "id": 2
    }
    ]
    }

  • @juliosamaniego6585
    @juliosamaniego6585 2 года назад

    if anyone is having trouble with CORS here is the solution, run the json server like this:
    npx json-server --watch data/db.json --port 8000 --no-cors

  • @noobyxd
    @noobyxd 2 года назад

    After npx json-server --watch data/db.json --port 8000 installation, I'm not getting the link under the Resources, but it shows the link under Home. Anyone having the same issue?

    • @rachitmittal1131
      @rachitmittal1131 2 года назад

      Yeah i have the same issue!!

    • @rachitmittal1131
      @rachitmittal1131 2 года назад +1

      I solved it by restarting the vs code and then tried again and it worked!!

    • @noobyxd
      @noobyxd 2 года назад +1

      @@rachitmittal1131 I’ll try that. Thanks so much for the response! 🙂

  • @qwertmom
    @qwertmom 3 года назад +1

    My terminal doesn't show any resources?

    • @timm2233
      @timm2233 3 года назад +2

      go into your terminal and run: npm install -g json-server. after that you can run the npx command

    • @MahmoudReyad
      @MahmoudReyad 3 года назад

      @@timm2233 thanks it works.

    • @born_to_matter2140
      @born_to_matter2140 3 года назад

      @@timm2233 thanks man it worked

  • @candle-likeghost9523
    @candle-likeghost9523 3 года назад +3

    the db.json :

    • @candle-likeghost9523
      @candle-likeghost9523 3 года назад +1

      {
      "blogs": [
      {
      "title": "My First Blog",
      "body": "Why do we use it?
      It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).


      Where does it come from?
      Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

      The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from \"de Finibus Bonorum et Malorum\" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

      Where can I get some?
      There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.",
      "author": "mario",
      "id": 1
      },
      {
      "title": "Opening Party!",
      "body": "Why do we use it?
      It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).


      Where does it come from?
      Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

      The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from \"de Finibus Bonorum et Malorum\" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

      Where can I get some?
      There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.",
      "author": "yoshi",
      "id": 2
      }
      ]
      }

  • @davidbister2684
    @davidbister2684 2 года назад

    if u have problem with this method npx ..... solution is npm install -g json-server,
    json-server --watch data/db.json --port 8000

  • @MythOfSagar-
    @MythOfSagar- Год назад +1

    3:23

  • @ckatke
    @ckatke 3 года назад +2

    1st

  • @dylancorr8054
    @dylancorr8054 2 года назад

    I don't have a Resources showing up only home why is this can anyone help?:)

    • @calebowatah5775
      @calebowatah5775 2 года назад +2

      ensure you've saved the db.json file...
      run----- npm install -g json-server,
      json-server --watch data/db.json --port 8000

    • @dipanshukumrawal4880
      @dipanshukumrawal4880 Год назад +1

      @@calebowatah5775 thankyou for saving my time

  • @natasaKull
    @natasaKull 3 года назад +1

    Does anyone have troubles with the json server?
    After running the command: npx json-server --watch data/db.json --port 8000
    I got an error: Error: EEXIST: file already exists, mkdir 'C:\Users\{UserName}'
    Tried to run VS code as administrator, tried the same command in cmd and in Git Bash and I have the same error.

    • @GeraldPutraa
      @GeraldPutraa 3 года назад +2

      you should install json-server globally first

  • @sully-kun3402
    @sully-kun3402 3 года назад

    Question, my json fake server wont work unless i turned on my Internet, is that by design? or maybe I've done something wrong
    because mr.Shaun's fake json server seems to not be needing a connection to start

    • @codewithfarhad8594
      @codewithfarhad8594 3 года назад

      I might be wrong but when you do npx json-server you are essentially making connection to json-server package which is hosted on npm LIVE without having to install it locally in your dev environment. So, if you do not have internet turned on, NPX can not fetch the json-server package from npm and so it has no idea how to watch the json file or do any of the json-server stuff.

  • @victorpelumi9498
    @victorpelumi9498 2 года назад

    Hey net ninja....been a great journey up to this point.. anytime I try to run the next Jason.server implementation it pops out an error message. I don't know what I doing wrong..I would appreciate if you could help out.
    Thanks

  • @dequentinmiller9086
    @dequentinmiller9086 Год назад

    Bro is it me or does everyone sound so much clearer when they have a british accent? I try to look at indian tutorials and they're great don't get me wrong, its just that their accent is like nails to a fucking chalk board.