Local Database for Vercel hosted api functions
Hey 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
no
vercel serverless
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
it doesnt persist no
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?
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...
thanks, ill check it out