Is it possible to modify a json without building the app again?
Answered
Kryp Arnold posted this in #help-forum
Hello guys, i wanna make a static app and it will use a json file as data. as i said i dont want to build the app again for just one json, is it possible to modify the json data externally?
6 Replies
@Kryp Arnold Hello guys, i wanna make a static app and it will use a json file as data. as i said i dont want to build the app again for just one json, is it possible to modify the json data externally?
you have to use a external storage service to store that json. vercel kv (or similar redis databases) is a good idea for that
can you link me an example or guide please?
for starters using vercel native stuff is easiest, but it's costly. when you get used to it and your app gains some traction you might want to migrate to a similar redis database like upstash which is a lot cheaper
im about to get stats from another app which is uses a database i think it will be good idea to store the stats in that database and pull it from my next.js app