© 2022 Hashnode
#expressjs
In this article, I'm going to show y'all how to authorize your nextJs web applications, assuming you've express backend for your secured APIs & discord Oauth to authenticate users with JWT authenticat…
This documentation covers what I had learnt while setting up MQTT with an Express server built using NodeJS. For this project we had written a script to detect a bot (hardware) and continuously track …
You can set a parameter of a router as optional with the following syntax: Syntax localhost/route/:parameter? To add an optional parameter for your route, add three things: a colon :, the parameter na…
📦 A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. Containerizing with…
When using Express, how do we redirect the user to another page? All we have to do if we want to send the user to another page is to write something like this: Syntax res.redirect("/routename"); Then …
Introduction A few things to note before getting started with this guide, we will be using a lot of terminology in this guide regarding to the topics like JavaScript, Node, frameworks, npm, IDE, depen…
In this blog, we are going to learn how to create a real server locally on our computer using Node.js and Express. STEPS: Step 1: Setting up our Folder First thing first open up a code editor. I will be using VS Code. Inside it, open a ne…
The first step is to log into your VPS server using a terminal or something similar. When it's done, you'll see something like that on your terminal (if you used a terminal). Install Node/NPM curl -f…
It took me 4-days and 100+ attempts to solve this simple issue of uploading a file using node. And the moment I got it right, I was like...phewww Here is how I solved this issue. By creating a - Simple node server. Middleware to process…
IPFS & Filebase If you’d like to understand IPFS a bit better, check out the another article written called Easily Understand & Upload Files To IPFS With Filebase. In short, this tutorial will focus o…