NuxtN
Nuxt12mo ago
IsaacR943

SQLITE in production

The thing is - most apps dont have enough traffic to make necessary real -con current writes. And with the command PRAGMA journal_mode = WAL; for concurrent writes with sqilite I really dont understand why I should use it in a project. (Disclamer for nerds)

I want to use sqlite in my nuxt application. Figured out the easiest way to deploy is within the server directory.
Is the server directory accessible from the public internet? Will nuxt break if i put a file .db in this directory? Ideally I want a location where apis can read from and since sqlite only manages file permission I must place the .db file in a path inaccessible form the public internet.
Was this page helpful?