As you get more into front-end development, you realize that visual looks and GUI are not the most important thing. Yes, they are the most important thing for the user because it's what they first see. However, there are other equally, if not more important, application segments that a developer needs to take care of. One of them is security. This is such an important aspect that, if you don't have it covered, you can't even deploy your application and have your clients use it safely. Consider the use of APIs. Almost all front-end applications use APIs today. For young developers, it's encouraging to learn API implementation, because it's something they will surely use in their career. There are numerous APIs online to use freely, mostly for the purpose of learning and showcasing your work. Some of them can be found here Free API . In my previous post Using GitHub REST API to display your repositories with Angular , I wrote about GitHub API and how to fetc...
Photo by Branko Stancevic on Unsplash When you need to send an API call , be it GET, POST or any other http request call, you can incorporate the use of State Management implementation, such as NGXS. NGXS is a state management pattern + library for Angular . It acts as a single source of truth for your application's state, providing simple rules for predictable state mutations - NGXS documentation. Here is the example of sending a GET request through a service call. ngOnInit(): void { this.spinnerLoading = true; this.dataSource$ = this.postListService.getPosts(); this.getPostsData(); this.spinnerLoading = false; } getPostsData() { this.dataSource$.subscribe( ( res )...