Local database

Hello,

I want to add a local database to my arduino to store some data. XD

How can add a local storage (like MongoDB) to my arduino ? Can we put a small standalone web server on arduino with SD card for example ?

Thanks 8)