gomix is super awesome, one of the coolest things in a long time. when making an app with it I ran into this issue!
In Can i see files written to .data or when they change? it says
.data is more suited for storing things like a file database (SQLite or NeDB): the characteristic of this folder is that it won’t be “remixed” by people that are remixing your project.
This says that the .data
folder is not copied over when remixing a project
Steps to reproduce:
Step 1: Go to https://sqlite3-db.gomix.me
Step 2: Click ‘remix’
Step 3: In the remixed project, change server.js
to these two lines
var fs = require(‘fs’);
console.log(fs.existsSync(’/app/.data/database.sqlite’))
What I expected: false
to be printed to the console, because that file should not exist after remixing.
What actually happened: true
is printed to the console.
this worries me because I’d like to have user data from my app be private, and I think this means that it’s not.