harshithdwivedi
harshithdwivedi

Reputation: 1421

Store JSON data received from a website hosted on github-pages

So I am working on a webpage (hosted on github pages) where I need to convert the data entered by the user to a json object and then saving it to a file on the github repo for later use.

So far, I've converted the data to a json object, but I'm facing difficulty in storing this object to a .json file in my github repository.

Any suggestions on this would be appreciated. Cheers.

Upvotes: 0

Views: 1459

Answers (1)

Ygalbel
Ygalbel

Reputation: 5529

As MAttds17 said you will need a server side.

If your code will be simple, you can use a Backend as a service like Firebase or Backand.

If you think you will have heavy logic in your server side, you can host a real application in Heroku or another alternative.

Upvotes: 3

Related Questions