Search Topic

Result for Topic: NodeJS

MongoDB using Mongoose

Mongoose is an Object Data Modeling (ODM) library for MongoDB and Node.js. It provides a schema-based solution to model your application data and includes built-in...
Continue reading

MongoDB without Mongoose

MongoDB is a popular NoSQL database that stores data in flexible, JSON-like documents. While many developers use Mongoose as an ODM (Object Document Manper) for...
Continue reading

Sequelize in Node.js

In the world of Node.js development, managing databases effectively can be a significant challenge, especially when dealing with relational databases. Writing raw SQL queries while...
Continue reading

SQL in Node.js

Setting Up a Database Connection The most common packages for MySQL connections in Node.js is mysql2. Here’s how to set it up: Using a connection...
Continue reading

MVC Architecture in Node.js

MVC (Model-View-Contoller) is a software design pattern that separates the application logic into three interconnected components: MVC in a Node.js App A typical folder structure...
Continue reading

Node.js Templating Engines

Templating engines are powerful tools that allow you to generate dynamic HTML content in Node.js application. templating engines provide a clean syntax for injecting data...
Continue reading

Express.js a complete Guide

Getting Started with Express.js Advanced Express.js Features What is Express.js Express.js is a minimal and flexible web application framwork that provides a robust set of...
Continue reading

Node.js debugging in VS Code

Useful resources: Debugging Node in Visual Studio Code: https://code.visualstudio.com/docs/nodejs/nodejs-debugging More on debugging Node.js: https://nodejs.org/en/docs/guides/debugging-getting-started/
Continue reading