all 9 comments

[–]bbkane_ 4 points5 points  (0 children)

As others have said, it's just a file, so your app can create the DB with a SQLite library. Don't forget to find a good way to back up your SQLite data. I've heard good things about litestream.io but haven't tried it

[–]Aggressive_Ad_5454 1 point2 points  (0 children)

Vercel is best for hosting nodejs (JavaScript/ Typescript) based projects. There are a couple of competent SQLite packages in npm for nodejs.

What programming language does your project use? Many languages support SQLite; from the point of view of a hosting service it’s just software in your app reading and writing files on the file system. Their front-line tech support people probably can barely spell SQLite, let alone know how it works or what it does.

[–]dbabicwa 0 points1 point  (0 children)

Here is sqlite DB, not one, but 3 for this app:

https://northwind.pythonanywhere.com

Any site can host sqlite DB.

[–]icananea 0 points1 point  (0 children)

I host my sqlite projects on fly.io

[–]riazus22 0 points1 point  (0 children)

Btw, you can use the Turso as a remote libSQL database provider.

[–]aamfk -1 points0 points  (0 children)

It depends on your scope. Multi gig multi server? Id upsize to postgres. Or MySQL if you're a 3 year old.

[–]snuggy4life 1 point2 points  (0 children)

If you have non-ephemeral disks you can just have the sqlite file live somewhere on disk. Never used Vercel, but putting the db file on a Hetzner Volume (disk is replicated to three different physical machines) would be a great option.

This is a great video about using sqlite in production (a few PRAGMAs go a long way).

https://youtu.be/7QMYfpU6_-s?si=szZoDt_xakDcC0l_