Muhammad Sufiyaninnosufiyan.hashnode.dev·Sep 27, 2024Custom Throttler Guard in NestJS with RedisIn this guide, we will explain why and how to create a custom throttler guard in NestJS, particularly when Redis is used for storing rate-limiting data. By the end of this guide, you'll understand: The benefits of Redis for rate-limiting. The need ...Discuss·29 readsSMIT - Batch 10throttler
Nayanmoni Baruahnayanmonibaruah.hashnode.dev·Jan 6, 2024Creating Custom Guards, Roles, and Token-Based Authorization in Laravel: A Comprehensive GuideAssume that we want to create a guard for students and want to generate a authorization token on login. Create table create the table using the following command php artisan create:migration create_students You will find your table within app/databa...Discussbearer
Niharika Gurnaniniharikagurnani.hashnode.dev·Sep 4, 2023Route Guards in AngularGuards are nothing but some code/logic executed before the route is even loaded or when the user tries to exit from the route. They're generally known as routing guards. Open on Github - https://github.com/niharika293/Angular-rout-guard-poc Objective...Discuss·57 readsAngular
Dany ParedesProdanywalls.com·Apr 16, 2023Testing Functional Guards in Angular 15: A Step-by-Step GuideSince Angular 14, we can convert our class guards to functional and also combine them with inject making it so easy to write guards Angular applications. When we move from class to functional, the constructor disappears, and the dependencies come fro...Discuss·8 likes·6.5K readsAngularAngular
Dany ParedesProdanywalls.com·Nov 30, 2022How To Use Functional Router Guards in AngularToday I was talking with my friend Leifer, and he asked me some about Functional Guards in Angular (14/15) with some questions. How do functional Router Guards work? Can The Class guards continue working in Standalone Components? How hard is conve...Discuss·3 likes·10.2K readsAngularangular15
Jamie Wohletzreflectiveresistance.hashnode.dev·Nov 29, 2022Branching in HaskellOverview In Haskell, there are multiple ways to branch your code's control flow based on some condition. Let's cover those ways in depth. Pattern matching You will see pattern matching everywhere in Haskell code. All of the examples in this section ...Discuss·291 readsHaskell
Jon Andoni Castelo Meléndezblog.jonandonicastelo.com·Aug 8, 2022Route guardsThe next explanations are based on this project. To get the most of this article it is recommended to not only read it, but to practice creating a similar project. This is a demo of the application functionality: On chrome devtools Console tab, we ...Discuss·31 readsAngularAngular