SSaminsam006.hashnode.dev·Sep 19, 2024 · 3 min readSetup of Cloudflare’s WorkersIntroduction about Workers Before setup and running a worker, let's first understand what a worker is and is what speciality it holds in the current market of different cloud providers. I always looked at Cloudflare as a company which provides some C...00
SSamin11pmcoders.hashnode.dev·Mar 21, 2024 · 2 min readExpressJS - redirect methodHave you ever wondered, when ever you are not logged-in to a website and you try to request a service that is only possible if you log-in then you get redirected to log-in page. Turns out, it is just a single line of code that does this redirection i...00
SSamin11pmcoders.hashnode.dev·Mar 21, 2024 · 1 min readExpressJS send methodwhile I was learning NodeJS I saw this piece of code. import express from 'express'; const app = express(); //routes app.get('/', (req, res) => { res.send('<h1>Hello World</h1>'); }); app.listen(3000, () => { console.log('App is running on po...00