-
Building Web APIs Using Node.js and Express: Part 3
Last updated: Monday, August 21, 2023
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, December 13, 2023
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.
-
Deploy a Real-World ExpressJS TypeScript Application Using Containers
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - March/April
Learn to deploy a real-world ExpressJS TypeScript application using containerization. Deploy both the application and the database as two separate containers.
-
A Real World ExpressJS and TypeScript Application
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - January/February
Sahil builds onto his earlier ExpressJS and TypeScript article and gets the sample application (a To-Do app that saves data to a database) up and running. He uses Bootstrap for new pages, adds support for client-side scripting using TypeScript and then adds Vue.js into the project.