What your assignment is asking is to create a restless backend API and frontend to consume it. When you are going to access your site you will be contacting the frontend and then the frontend is going to retrieve what info it needs from the backend and display them to you. Usually, the backend and frontend run on different servers (eg a php server for the backend and node.js for the frontend) but this isn’t always the case.
Basically he wants two separate projects the backend and the frontend.
In both cases you will use ajax call to get the info from your backend (in your case the laravel app) to the frontend.