Setup 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...Sep 19, 2024 · 3 min readsam006.hashnode.dev
ExpressJS - 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...Mar 21, 2024 · 2 min read11pmcoders.hashnode.dev
ExpressJS 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...Mar 21, 2024 · 1 min read11pmcoders.hashnode.dev