Skip to content
← Back to Community
Secret JSON
Profile icon

I don't mind sharing my code through REPLIT.
But I would like to keep the data I'm using secret. Is there anyway to keep JSON file secret (like .env, it's not shared, even though the repl is shared) ?

Answered by TheDrone7 [earned 5 cycles]
View Answer
Profile icon
Profile icon
Profile icon

Storing data in is not recommended because when you edit data stored in files on programmatically, you will love all the changes very soon. So I recommend using some external database. If you want to stick to JSON, then you can use any service similar to In case you're using python or Nodejs, there are some packages that you can use to use jsonstore API in an easy way.

Please mark this as the correct answer if it helps.