-
Building Web APIs Using Node.js and Express: Part 3
Last updated: Wednesday, January 8, 2025
Published in: CODE Magazine: 2023 - September/October
In the third article of this series, Paul shows you how to build a website using Node.js and Express to serve web pages, how to use a templating engine called Mustache to create dynamic web pages from the data retrieved from API calls, and how to configure cross-domain resource sharing (CORS).
-
Building Web APIs Using Node.js and Express: Part 2
Last updated: Wednesday, November 13, 2024
Published in: CODE Magazine: 2023 - July/August
In this second article of his new series, Paul's article is about moving hard-coded values from the code into a configuration file and reading those settings into a Node.js and Express application. It also covers adding middleware functions to handle exceptions, writing different types of errors to different locations, and retrieving data from a SQL Server table. It uses the `config` package to read configuration data from a JSON file and demonstrates how to replace hard-coded strings with values from the configuration file.
-
Building Web APIs Using Node.js and Express: Part 1
Last updated: Tuesday, October 22, 2024
Published in: CODE Magazine: 2023 - May/Jun
Paul Sheriff starts a series on using JavaScript to create server-side web pages and web APIs. He'll demonsrate through examples how to use Node.js and Express to do this. Learn to build a Node.js and Express project for hosting Web API calls, create a set of routes to do CRUD operations on product data in a JSON file, and more.
-
Building a VS Code Extension Using Vue.js
Last updated: Thursday, January 23, 2025
Published in: CODE Magazine: 2021 - July/August
Most of the core functionalities in VS Code are extensions, and you can extend almost any feature, from color themes, to activity bars, to displaying data. Bilal gives an overview of how extensions work and some cool ideas for what to do with them.
-
A Simple ExpressJS and TypeScript Project
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - November/December
Sahil walks you through a simple ExpressJS-based Web app using TypeScript to help you get started using these great technologies together.
-
Nest.js Step-by-Step: Part 2
Last updated: Thursday, March 18, 2021
Published in: CODE Magazine: 2019 - September/October
Bilal continues showing us just how interesting, useful, and easy it is to integrate Nest.js with TypeORM. You’ll get to replace mock data from the first article with real data this time, too.
-
Getting Started with Node Streams
Last updated: Friday, April 30, 2021
Published in: CODE Magazine: 2018 - March/April
If your synchronous load drowns in a sea of code, a lifeboat can be found in NodeJS. Chris explains how to use node streams to organize the flow of data.
-
Introduction to Node Modules
Last updated: Thursday, November 24, 2022
Published in: CODE Magazine: 2017 - September/October
There’s no time to waste! Chris jumps right into Node Modules, and soon you won’t know how you ever re-used code without them.
-
Write Cross-Platform Apps using Electron
Last updated: Wednesday, June 23, 2021
Published in: CODE Magazine: 2016 - March/April
Using this new tool and a few familiar ones, Sahil shows us how to build a simple app that we can sell on Apple or Windows App Stores.
-
Building a Simple NodeJS API on Microsoft Azure Websites from Start to Finish
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2014 - July/August
Rick illustrates the benefits and shortcomings of using NodeJS, and also builds a handy tool for making shortened URLs while he’s at it!
-
Node.js Best Practices
Last updated: Tuesday, September 7, 2021
Published in: CODE Magazine: 2014 - July/August
You might have heard about Node.js and always wanted to try it. With Ben’s guidance, you can get a simple Node.js app up and running, and learn about some other useful tools as you go.
-
Building Web APIs with Node.js and MongoDB
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2012 - September/October
Node.js by itself is a blank canvas. However, the Express.js web framework for Node.js provides programmers with a clear, concise development platform to build high performance Web APIs.
-
An Introduction to node.js
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - May/June
Brian explores node.js and shows you the basic concepts needed to develop with it.
-
Node.js Succinctly
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts, Newsletters
In Node.js Succinctly, Microsoft MVP Agus Kurniawan leads you through the fundamentals of using Node.js to speed up your JavaScript-based applications. This informative e-book will take you from Hello World to "if…then" decisions, all the way to real-time data monitoring. You'll learn how to use Node.js to build modules, declare JSON data objects, and create entire web-based applications. The basics of socket and database programming with Node.js are also covered.