Local Database for Vercel hosted api functions

Hey waveBoye wondering if its possible to use file system based local databases for Nextjs functions. Even just using node fs, or something like https://github.com/typicode/lowdb
GitHub
GitHub - typicode/lowdb: Simple to use local JSON database. Use nat...
Simple to use local JSON database. Use native JavaScript API to query. Written in TypeScript. (supports Node, Electron and the browser) - GitHub - typicode/lowdb: Simple to use local JSON database....
6 Replies
barry
barry2y ago
no vercel serverless
domi?
domi?2y ago
i understand that, but does serverless mean it also wipes the file system? I thought it only just stop the execution so you lose memory
barry
barry2y ago
it doesnt persist no
domi?
domi?2y ago
Does it fully clear everything, then reinstall it again at a new request? How come node_modules don't need to be reinstalled like that? or do they?
barry
barry2y ago
IBM Technology
YouTube
What is Serverless?
Learn more about Serverless Computing → http://ibm.biz/serverless-computing-guide Check out "What is FaaS?" lightboard video → https://youtu.be/EOIja7yFScs Learn more about Functions-as-a-Service → http://ibm.biz/faas-guide Check out IBM Cloud Functions → http://ibm.biz/prod-ibm-cloud-functions ► Earn a badge with FREE interactive Kubernetes l...
domi?
domi?2y ago
thanks, ill check it out
Want results from more Discord servers?
Add your server