The case is to build a Login and Register page in Angular and access an api when registered and logged in. I know the concept of sending the login data to an, api getting the token back etc.
My Problem is that I don't know how to implement the workflow in Angular. The backend is written in PHP. I'm searching for a concept.
What is the best way and do I need Routeguards, Interceptor, Lokalstorage, Cookies?
To access an secure api and also being able to see api results in e.g postman with a token is my target.