Implemented a simple server-side api to store data