SharePoint itself provides REST API for each site you create. It is such wonderful thing to help...