{"by":"thenorthbay","descendants":56,"id":37040359,"kids":[37043340,37041362,37042383,37041432,37059347,37054538,37057098,37041499,37042701,37042700,37046803,37045800,37046762,37042784,37046291,37042117,37040405],"score":160,"text":"Hi!<p>As I was working on a side project, I noticed I wanted to use SQLite like a Document Database on the server.\nSo I built Doculite. DocuLite lets you use SQLite like Firebase Firestore. It&#x27;s written in Typescript and an adapter on top of sqlite3 and sqlite.<p>Reasons:<p>1) Using an SQL Database meant having less flexibility and iterating slower.<p>2) Alternative, proven Document Databases only offered client&#x2F;server support.<p>3) No network. Having SQLite server-side next to the application is extremely fast.<p>4) Replicating Firestore&#x27;s API makes it easy to use.<p>5) Listeners and real-time updates enhance UX greatly.<p>6) SQLite is a proven, stable, and well-liked standard. And, apparently one of the most deployed software modules right now. (src: <a href=\"https:&#x2F;&#x2F;www.sqlite.org&#x2F;mostdeployed.html\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;www.sqlite.org&#x2F;mostdeployed.html</a>)<p>What do you think? Feel free to comment with questions, remarks, and thoughts.<p>Happy to hear them.<p>Thanks","time":1691439274,"title":"Show HN: Doculite – Use SQLite as a Document Database","type":"story","url":"https://www.npmjs.com/package/doculite"}