Use MongoDB to store data