Here's a simple nodejs server rest api example