Hi, I'm Hassan, A software engineer who is deeply interested in Core Backend stuffs. currently majority of the time is spent on hammering my fundamentals t...
courstella Courstella is an in-house study tool i built for my School (kwasu). It allows student to take quiz sessions - tailored to their specific department, courses, all the way down to each weekly topic. It features leaderboard- for healthy peer competition mentorship by academic directors session history- To review past exams Analytics- to visually assess growth over time Ai- For immediate…
Back story (yapp yapp) I used to avoid Docker ever since I prematurely picked it up to utilize for one of my API projects I built last year. Back then I still didn't understand the Dockerfile or the compose files and the basic terminal commands used to spin things up — but not anymore. By now I've had experience with Linux (Ubuntu), which I set up using WSL, and that has made me a bit more fluent…
a simple documentation on hashing password before saving into db A user schema model has been defined, using mongoose, it looks something like this: const userSchema = new mongoose . Schema ({ email : { type : String , required : true , unique : true , minlength : 4 , lowercase : true , }, username : { type : String , required : true , unique : true , minlength : 4 , trim : true , }, password : {…
As an intermidiate in coding and also an ideator, I've always been curious on how to efficiently build stuff that comes to mind with minimal friction or help within a specific range of time-- because that is my new definition of competence in coding . I think most of us (beginners - intermidiates) coders tend to fail at this because of our approaches. I'm guessing this is what goes on your mind…
disclamer: This was written for me to easily read and set up a prisma orm in a future project incase i forget. for more helpful info please head over to the prisma documentation Table of contents: what is prisma how does prisma works how to setup/connect prisma in a node js environment Prerequisites: vscode node js npm (node package manager) terminal what is prisma? prisma orm (object relational…
Here are some questions i asked myself when it was time to implement jwt into my server authentication--which will also serve as the explanation outline. what is jwt why do need jwt when we can simply validate a user through the database how does jwt works how to implement jwt into a server authentication 1. What is jwt? "JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact…
As an intermidiate java script developer, I have always shy away from anything that try to abstract my beginner's way of doing things in JS, Such as using fat function instead of using function(){} document . addEventListener ( "DOMContentLoaded" , ()=>{ // (fat funky is cool too btw) }) Or Writing if statement logic on a line with note else{} const cat = 44 if ( cat < 5 ) console . log ( "hello…
RESTFUL REST as in (Representational state transfer) is an architectural style for designing APIs. It makes use of the http methods, such as GET, POST, DELETE etc, as standard in communicating between softwares RESTFUL API On the other resful api is a mode of interacting with different softwares using the REST standard. It organizes data into resources such students below Each resources has a…
This is basically the upgrade patch from HTTP to HTTPs. short history: SSL (secure socket layer) was the old security layer developed by Netscape Navigator web browser in the 90s, during the surge of e-commerce, a need for a secure layer -- behind the scene security during the communication between a client(browser) and a server(eg amazon.com) was needed to encrypts / secure data during any…
Introduction How does the internet work? The understanding of how the internet works has always seem like magic to most of us, Or some of us just don't care, and that's alright for a non technical person, but as a developer understanding how the internet works is really crucial in creating applications that communicate over networks and ensuring data are transmitted securely. We won't be going…