Laravel crud app that will be consumed by javascript