add express server which returns date and JSON object dependant on input

if you're sending json, use the .json method instead of .send or set 'Content-Type' to 'application/json' in the headers.