Added dummy data generation api to server.js.