An example using nodejs and mongodb