Bootstrap code for creating a restful