© 2023 Hashnode
#ejs
What exactly is Node.js? Till now, you've been executing your JavaScript inside the browser. Here's where Node comes in. According to nodejs.org, "Node.js® is an open-source, cross-platform JavaScript…
In this tutorial, we will discuss the moment library and its importance in converting MongoDb date string format. We will go ahead and insert the data in an EJS template file. Let's begin first by kno…
In this blog post, we will learn how to send emails to a user's email box from the Nest application using Nodemailer. So, let's learn:- Prerequisites To follow this tutorial, you will need: Node.js v…
EJS (Embedded JavaScript) is a templating engine that allows developers to embed JavaScript code into HTML documents. The resulting HTML documents are then rendered by the browser, with the JavaScript…
Welcome to Day 29 of our blogging series "Code, Blog, Repeat: A 50-Day Quest for Back-End Mastery"! Yesterday, we covered middlewares in Express, and today we're going to explore the world of templati…
cross-posted on https://blog.keture.com/blog/cjsvsesm If you're already familiar with the JavaScript universe, you unquestionably come to believe that ecosystem of JS is more massive than any other l…
Before we begin, let us understand what a Template Engine is. A template engine is a mechanism that enables you to use static template files in your application. It replaces the variables inside a web…
Hello, ladies and gentlemen, I'm back with another lovely article which I'll be explaining about EJS as you all know most beginners (developers) are struggling to know which technology they will be us…
0. 說明 本篇將完整說明如何使用 node.js 建立一個簡單的 web,也介紹如何對 mysql 的資料庫操作。 本篇文章是一個步驟指導,建議可以搭配影片一起學習: https://youtu.be/Rlj0xVAEoxk 1. 安裝 node.js 安裝最新版: $ sudo apt-get install curl $ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - 開始安裝: $ sud…