DEV Community

Newton Ombese
Newton Ombese

Posted on

Hosting Your JSON Server on Glitch

Unlike Heroku, glitch is a fast-time player for hosting compared to heroku. All that is required of You is one simple command and then boom.

Here are the steps to hosting at Glitch:

  1. Click on the following link: Glitch Website
  2. Login or Signup to your account
  3. Click on the New Project button

Image description

  1. Select the import from github button
  2. You will be prompted to enter a github url then add the following
  3. Head straight to the db.json file
  4. Delete all that is in this file then copy paste all of your json file content
  5. After that click on the share Button and select the live link.
  6. Select the array to be viewed under the url by addition of / then your array data.
  7. After successfully achieving all this copy the website url with your data and use it anywhere in your code.

It feels great achieving all that you start and I felt great too successfully deploying my api.

Top comments (0)