An open API service indexing awesome lists of open source software.

https://github.com/jdegand/angular-auth

Basic Angular 17 authentication using Realworld API
https://github.com/jdegand/angular-auth

angular angular-17 realworld-angular

Last synced: 11 months ago
JSON representation

Basic Angular 17 authentication using Realworld API

Awesome Lists containing this project

README

          

# Angular Auth

Angular authentication based off this [YouTube video](https://www.youtube.com/watch?v=R8a8ituFkls).

## Built With

- [Angular](https://angular.dev)
- [Angular CLI](https://github.com/angular/angular-cli) version 17.0.7.
- [Realworld API](https://realworld-docs.netlify.app/)

## Thoughts

- Looking into using Realworld API as a mock for Angular authentication. This might speed up my process for Angular frontend creation as I can progress further without stopping to create a backend.
- `getRawValue` can be a way to get around Typescript problems when you submit a form value that doesn't include all properties of the interface type of the API's payload. You could also use `Partial`.

## Useful Resources

- [Andy Bell](https://andy-bell.co.uk/a-more-modern-css-reset/) - a more modern CSS reset
- [Github](https://github.com/voidChetan/Jwt_Login_Angular) - Jwt Login Angular
- [Github](https://github.com/monsterlessonsacademy/monsterlessonsacademy/tree/399-angular-authentication/src) - 399 angular authentication
- [Medium](https://medium.com/@rogerg93/difference-between-value-and-getrawvalue-in-angular-628d0a26fcbf) - difference between value and getRawValue
- [Realworld Docs](https://realworld-docs.netlify.app/docs/specs/backend-specs/endpoints) - backend specs & endpoints
- [Medium](https://medium.com/@gokulbudha/interceptors-in-angular-aee9b247d4c5) - interceptors in angular