How to create Json-server | How to deploy json-server | How to deploy json-server on render

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • #JSONserver #render #deploy #backend #API #webdevelopment #cloudcomputing #webhosting #devops #tutorial #digitalmarketing #programming #webapp #mobileapp #RESTfulAPI #REST #APIdevelopment #APIintegration #webapi #JSON #javascript #nodejs #webdesign #softwareengineering #computerscience
    Creating and deploying a JSON server on render.com is a great way to quickly and easily set up a back-end API for your web or mobile application. In this tutorial, we will guide you step by step through the process of setting up a JSON server on render.com and deploying it to the cloud.
    To begin, we will explain what a JSON server is and how it works. We will then walk you through the steps of creating a new JSON server on render.com, configuring it, and setting up your data model using a simple JSON file. Next, we will show you how to test your JSON server to make sure it is working correctly.
    Once you have your JSON server up and running, we will guide you through the process of deploying it to the cloud on render.com.
    follow me on LinkedIn:- / dev-saurabh-kumar
    follow me on GitHub:- github.com/dev...

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

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

    thank you bro, it helped me a lot

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

    Thanks a lot! This video was much needed

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

      You are welcome 😉

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

    Great Video! 🚀

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

      Glad you liked it!

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

    Will post request work on this ??

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

    can we deploy react project with backend json

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

      ya

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

      @mernify if we share the deployed link to anyone, can they see the project ?

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

      @mernify how can I connect to you? Can u share your insta I'd

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

      @@Hashir_musthafa no

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

    bro.... iam getting error => "Cannot find module 'json-server'". i have been successfully installed json-server

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

      plz help me bro

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

      C:\Users\Doddi Naveen\Desktop\files\cal\testingcal> npm start
      > testingcal@1.0.0 start
      > node index.js
      node:internal/modules/cjs/loader:1145
      throw err;
      ^
      Error: Cannot find module 'json-server'
      Require stack:
      - C:\Users\Doddi Naveen\Desktop\files\cal\testingcal\index.js
      at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
      at Module._load (node:internal/modules/cjs/loader:983:27)
      at Module.require (node:internal/modules/cjs/loader:1230:19)
      at require (node:internal/modules/helpers:179:18)
      at Object. (C:\Users\Doddi Naveen\Desktop\files\cal\testingcal\index.js:1:20)
      at Module._compile (node:internal/modules/cjs/loader:1368:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
      at Module.load (node:internal/modules/cjs/loader:1205:32)
      at Module._load (node:internal/modules/cjs/loader:1021:12)
      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
      'C:\\Users\\Doddi Naveen\\Desktop\\files\\cal\\testingcal\\index.js'
      ]
      }
      Node.js v21.7.1

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

      @@naveendoddi7683 run this command
      $npm install

  • @HoSs-AmJs
    @HoSs-AmJs Год назад +1

    npm i json-server is taking too much time and finally it responde me with error any solve for this problem ?

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

      check your network connection and run again , if it still gives you error run this
      ->>> npm i json-server --force

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

    github ???

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

      bhai iska bhi guthub chiaye tumko , ye to aise hi maze karte bna diya tha

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

      my github: github.com/dev-Imsaurabh

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

    Getting Error :
    Could you assist :
    $ json-server --watch db.json
    C:\Users\purohit\AppData\Roaming
    pm
    ode_modules\json-server\lib\bin.js:2
    import { existsSync, readFileSync, writeFileSync } from 'node:fs';
    ^^^^^^
    SyntaxError: Unexpected token import
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:607:28)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Function.Module.runMain (module.js:684:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

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

      hard to say what's wrong without looking into your code but , its most probably error from library, maybe you are trying to run backend thing in frontend which requires File system (fs).