Nodejs

Nodejs posts, videos, courses, and more

How to Display Formatted Date in JavaScript Without Using Any External Library

How to Display Formatted Date in JavaScript Without Using Any External Library

In most of the applications, we need to display a formatted date like 18 June 2021 or 06/18/2021 along with the time. So we normally use moment.js or date-fns or day.js library to get that done. But using an external library adds a lot of extra code to the final size of the application. For example, the moment.js npm library is...

Yogesh Chavan

4 days ago

3
Select One:
How To Write Your First Node.js Script

How To Write Your First Node.js Script

Introduction Until recently(if you think that 2009 is recently), we could only run JS code in a web browser. Node is a JavaScript runtime that executes code outside of the browser. We can use the same JS syntax we know and love to write server-side code, instead of relying on other languages like Python or Ruby. You can build We...

Boyan Iliev

1 week ago

9
Select One:
16 must-have Figma Plugins for UI/UX Designers

16 must-have Figma Plugins for UI/UX Designers

Hey there, I'm Savio Martin, A 14-year-old boy on an intention to enhance as a successful full-stack web developer. I love building full-stack web applications and mobile apps. I have proved my superiority in frontend technologies. I love to share my resources and expertise with the dev community. Today, I'm gonna share 16 must-...

Savio Martin

1 month ago

7
Select One:
Command Line Job Search Application using Node.js

Command Line Job Search Application using Node.js

Introduction In this post, we'll build a command line job search application using Node. It's a JavaScript runtime that allows the JavaScript code to run outside the browser. We'll use the GitHub Jobs API to fetch data and present it in a tabular format on the command line interface. We'll focus on the following three scenarios...

Raunaq

1 month ago

3
Select One:
Build a Shopping Cart App with React, Node, and Stripe

Build a Shopping Cart App with React, Node, and Stripe

Learn how to build a complete online store and shopping cart using React, Node and Stripe!The shopping cart app you build will feature:- A complete gallery of products that users can pick from- An attractive and responsive, mobile-first app design, ideal for all devices- Dedicated pages for each product, with several user a...

Reed Barger

2 months ago

3
Select One:
Adding Google Cloud Credentials to Heroku

Adding Google Cloud Credentials to Heroku

THE PROBLEM If your project is using a package that loads credentials from a file instead of an environmental variable, configuration with Heroku can be confusing. I ran into this issue when adding @google-cloud/storage to my project. The solution I found that kept my credentials hidden and secure was using this build pack from...

Bryan Borgesano

3 months ago

3
Select One:
Detect Duplicate Images With NodeJS and pHash

Detect Duplicate Images With NodeJS and pHash

Did you ever find yourself in a situation where you had a directory full of images and might have potential duplicates? To look through each image and mark duplicates will be a waste of your time, and so, you wanted to automate it with a script. But then, a few hours into it, you are reading some OpenCV documentation and articl...

Parthipan Natkunam

4 months ago

3
Select One:
AdonisJS for Beginners

AdonisJS for Beginners

AdonisJS is a Node framework that feels a lot like Laravel. In fact, many of the features feel and act very similar to Laravel. In this quick tutorial, I'll show you how to get set up with a simple Adonis application and create a few routes. Let's begin. Installation Installing Adonis is as simple as installing an npm package. M...

Tony Lea

7 months ago

6
Select One:
Building a Shopping Cart In Nodejs

Building a Shopping Cart In Nodejs

In this article we will be building an E-commerce platform with Nodejs as backend and for Frontend, we will have 3 different techonologies (Angular, React and Vuejs). I will publish those articles and give link in this one soon. Vue Vite for frontend part is live, you can read now. We will break down this article into two parts,...

Sunil Joshi

9 months ago

10
Select One:
What is Deno and should you learn it

What is Deno and should you learn it

Node is pretty amazing, but there is a new contender stepping into the ring, and his name is Deno. What is Deno? Deno is a new server side javascript language created by the same creator of NodeJS, and it's said to have many advantages over Node. In fact Deno is an anagram for Node (a name formed by rearranging letters of anothe...

Tony Lea

1 year ago

6
Select One:
Connecting to a MySQL database in NodeJS

Connecting to a MySQL database in NodeJS

Connecting to a MySQL database in NodeJS is actually quite simple. First off, you'll need to make sure you have a local MySQL server on your machine and then you can follow these steps.To start off you'll want to create a new folder, navigate to that folder in a shell prompt, and then install the NodeJS Mysql package: 

Tony Lea

1 year ago

7
Select One:
Getting a user’s country, currency, timezone or language from their IP address

Getting a user’s country, currency, timezone or language from their IP address

In many projects in the past, when I’ve had to use a Geo IP API service to look up a user’s IP address, it was usually for one of several reasons — getting the user’s country (for geo-locking certain features, or defaulting to certain sections or categories of the site), defaulting a user’s created account to a certain currency,...

Wael Manai

2 years ago

Select One:

Keeping your Node Server running Forever

Yeah, it's really cool that you can start your node server from a terminal window by typing 'node server.js', but then you close the terminal or disconnect and your node server is no longer running... Well, wouldn't it be great if you were able to keep your Node servers running forever? That's exactly what you can do with the to...

Tony Lea

8 years ago

1
Select One:

What is NPM?

Tony Lea

8 years ago

Select One:

A Simple Node Example

Here is a simple Node JS example that I hope will help someone's journey with getting started with Node JS a little easier. First off, I thought I would explain in the simplest form what Node JS is and what it does. I am by no means a Node JS expert, so don't knock me too hard if you disagree with me. Node JS is a javascript lib...

Tony Lea

9 years ago

1
Select One:

Loading More Content