Finishing touches
Our hard work has finally come to an end. However, our app still lacks some additional finishing touches that would further improve what we have done so far.
More specifically, here’s a list of “minor” and major UI, UX, and functional issues that we should address if we aim to release our app in production:
- Hide the “Add New City” and “Add new Country” buttons from unregistered users, using the
*ngIf
preprocessor directive and theisAuthenticated()
method ofAuthService
. - Implement a RegisterComponent to allow users to create an account. Needless to say, this feature will also require the addition of new client-side routes, new interfaces, new validators for email addresses and passwords, new action methods in
AccountController
, and so on. - Add a refresh token mechanism to allow the client to automatically retrieve a new token after the previous one expires, instead of deleting the expired...