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
- Host: GitHub
- URL: https://github.com/jdegand/angular-auth
- Owner: jdegand
- Created: 2023-12-17T01:12:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-23T20:57:26.000Z (about 2 years ago)
- Last Synced: 2025-01-22T09:13:37.888Z (about 1 year ago)
- Topics: angular, angular-17, realworld-angular
- Language: TypeScript
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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