Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

405
Views
How to host a json-server db in any cloud service

I just finished an Angular project I was working for the last weeks, and since it was for educational purposes, I have all the data I need for the app into a db.json file in other project, which I host locally using JSON Server.

My data is pretty simple, the db.json file looks like this:

{
    "users": [
          {
            "id": 1,
            "user": "John Doe",
            "email": "john.due@gmail.com"
          }
        ],
    "heroes": [
              {
                "id": "dc-batman",
                "superhero": "Batman",
                "publisher": "DC Comics",
                "alter_ego": "Bruce Wayne",
                "first_appearance": "Detective Comics #27",
                "characters": "Bruce Wayne"
              },
              {
                "id": "dc-superman",
                "superhero": "Superman",
                "publisher": "DC Comics",
                "alter_ego": "Kal-El",
                "first_appearance": "Action Comics #1",
                "characters": "Kal-El"
              },
          ]
   }

I don't need to make any change to that .json file, my question is if I can host that file in any cloud service and access it the same way I am doing it, but instead of using localhost, calling it from the internet.

I need this because I want to deploy my Angular app, but it will not work if the json-server is not up, so it will show no data.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!