Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/rest-api. A rest api test.
Something went wrong. Try again.
1var controller=require("./controllers/controller");module.exports={routers:{index:{title:"Leukemia",tabs:["About","Health Policies & Tech","Connections","References"],tab_focus:"Focus",footbar:!0,hero:{src:"/assets/images/city.jpg",alt:"An iamge of a bustling city."},content:{layers:[]},css:[],js:[]},test:{title:"Leukemia",tabs:["About","Health Policies & Tech","Connections","References"],tab_focus:"Focus",footbar:!0,hero:{src:"/assets/images/city.jpg",alt:"An iamge of a bustling city."},content:{layers:[]},css:[],js:[]},"api-contact-list":function(t){t.get(controller.getContacts).post(controller.addNewContact)},"api-contact-details-by-id":function(t){t.get(controller.getContactWithID).put(controller.updateContact).delete(controller.deleteContact)}},routes:{"/":"index","/test":"test","/api/contact":"api-contact-list","/api/contact/:contactId":"api-contact-details-by-id"}};