yes it is possible you may protect all endpoint with something like sanctum
Laravel Sanctum for Backend?
Hello Laravel developers!
I wanted to know if there can be any issues in doing the below!! So I am using Laravel Breeze API stack to start of development and the backend will doing all the major work ofcourse such as interacting to an API from a pterodactyl instance. The frontend will be on the same top level domain using NextJS but I also want to include a mobile app using all the API endpoints that I'll be implementing.
It will be an open-src project and I wanted to know if someone could use the API from someone running an instance of my code, since I would't want that to happen.
Hopefully what I said makes sense π
Please or to participate in this conversation.