© 2023 Hashnode
#validation
Validating form values is an important step in ensuring the integrity and accuracy of the data being collected. One popular tool for this task is Joi, a JavaScript object schema validation library. Wi…
Vivek Agarwal wrote a great tutorial for adding custom API endpoints in Strapi. It didn't include any tips for validating the request input. In this tutorial, I will show how to create a pleasant user…
Introduction It's official, I have completed another application using REACT as the frontend framework, and Rails on the backend. Inside Rails, I used ActiveRecord as my ORM framework. My project "has…
As a podcaster, I usually schedule a quiet learning room slot in the public library, for recording. The rooms are free of charge, and therefore they are fully booked just when the scheduling platform …
In this blog, let's try to implement JSON validation for the data strut that we made. Let's start with the basics What is JSON validation? JSON validation verifies that the data that is fed into the s…
If you maintain projects on Github, you must have come across Github Actions - which is Github's own CI provider where you can greate workflow files in .github/workflow/<xyz>.yml and get Github to bui…
NestJS performs input validation using decorators, pipes, and the class-validator utility. For example, if validation is required for path-parameters or query-parameters, the @Param() or @Query() decorators are used for this, respectively, …
In my article today, I will show you how you can upload both single and multiple files in PHP and save them in a zip file. I will make use of the ZipArchive() class in PHP for the purpose of this tuto…
Quick Summary Working with JSON files extensively or to the extent that we need to at least remember or document the properties and structure of the JSON and to make sure that structure is followed as…
Over my 10 years of working as a software engineer, I've tried many different programming languages. In my professional career, I started with PHP, later switched to JavaScript and now I'm mostly work…