Dianne De Jesusdiaanedev.hashnode.dev·May 19, 2024MongoStore cannot be invoked without 'new'When updating an old project I got this error, plus some deprecated warnings. The project was just an old practice project that uses Mongodb, Mongoose, Connect-Mongo and Express. I did some research and came across these pages: https://mongoosejs.com...DiscussMongoDB
Sonu Sahusonusahu.hashnode.dev·May 19, 2024Setting Up Node.js and Express with TypeScriptCreating a Node.js project with Express and TypeScript allows you to take advantage of TypeScript’s type-checking and modern JavaScript features. This guide will walk you through the process step-by-step. Step 1: Initialize Your Project First, create...Discuss·1 likeTypeScript
Andyson Mupetaandysonm.hashnode.dev·May 18, 2024Building a web app (Whinst) weekly update #5Deployed the backend I deployed the Whinst backend to a Digital Ocean Droplet which is Linux-based virtual machine. The process was pretty straight forward because I've done deployment like this a couple of times😅. I first setup the Droplet and st...DiscussBuilding WhinstTypeScript
Riyaz Shaikhtalk2riyaz.hashnode.dev·May 17, 2024Introduction to Express.js: A Beginner's GuideThis blog will introduce you to the basics of Express.js, provide simple explanations, and walk you through a basic example to help you get started. What is Express.js? Express.js, or simply Express, is a minimal and flexible Node.js web application ...Discuss·3 likes·45 readsNode.js
Mohd Ahsan Raza Khanmohdahsanrazakhan.hashnode.dev·May 16, 2024How to create an API using Node.js and Express.jsCreating an API in Node.js using Express.js involves several steps. This guide aims to simplify the process, focusing on practical implementation rather than lengthy theoretical explanations. By keeping the article concise, readers can quickly grasp ...Discuss·1 likeJavaScript
Misbahul Alammisbahulalam.hashnode.dev·May 15, 2024Why should you learn Node.js in 2024Learning Node.js offers several benefits: ✅ JavaScript Everywhere - Node.js allows you to use JavaScript on the server-side, which means developers can use a single language for both client-side and server-side development, streamlining the developme...DiscussNode.js
Zihan Linkuruxxii.hashnode.dev·May 15, 2024Sessions in ExpressIntroduction In order to implement sessions within an Express application, we can use the NPM module, express-session, as a middleware. The session middleware typically handles the creation, retrieval, and management of the session data, which is usu...Discuss·1 likesoftware development
Manmohan P Mmanmohan65.hashnode.dev·May 14, 2024Band Generator using JS (Node JS)Introduction Lets make a random Bandname generator cus why not.. It'll take a random adjective and random noun form a long list and put them together to give weird bandname. It'll do all this WHEN you press a button. Dependencies First we insta...DiscussHTML5
Zihan Linkuruxxii.hashnode.dev·May 14, 2024Easy Steps to Set Up TypeScript with Node.js and ExpressSetting up TypeScript with Node.js and Express involves several steps. TypeScript adds static typing to JavaScript, making it easier to catch errors during development. Here’s a step-by-step guide on how to set up TypeScript with Node.js and Express:...Discuss·1 likeTypeScript
rohit shahirohitdebugbugs.hashnode.dev·May 13, 2024CORS (Cross-Origin Resource Sharing) Explained: A Beginner's OverviewWhat is CORS? CORS, short for Cross-Origin Resource Sharing, is a security feature implemented by web browsers to protect users from potentially malicious actions. It restricts web pages from making requests to a different domain than the one that se...Discuss·1 likeWeb Development