I am trying to create a simple app where users input random data and that data gets stored in a database file. The program works locally on my PC but when I uploaded everything to GitHub the data was not being saved in the file. The app has a function where it shows stored data and it correctly showed the inputted data but was just not storing it in the file.
GitHub Pages is designed for static websites and does not support server-side operations, such as writing to a database file.
To overcome this, you will need to use a different hosting solution that supports server-side operations and databases.
May I know what database are you using for the app?