The API layer receives interactions within the frontend and then communicates these on the storage layer. This layer functions being a bridge among the frontend plus the backend.
Not sure in which to get started on? https://louisefbdl968755.nizarblog.com/29755526/ai-and-machine-learning-projects-an-overview