Expressjs: Organizing Routes and Routing for an API
This tutorial will show a basic Express.Js route structure using the express.Router class to build a simple API. When developing Node.js applications, organizing your code for modularity and readability is essential. Modular and organized code helps make web applications efficient in troubleshooting and testing, allowing you more time to develop great user-friendly applications.
NodeJS & ExpressJS: HTTP Requests Using the Google Chrome Devtools Console
This blog post shows you how to send HTTP GET and POST requests using the Google Chrome Developer Tools (Chrome DevTools) console. Additionally, we will set up a simple ExpressJS server using JavaScript and NodeJS to handle the HTTP requests we send through the Chrome Browser. The Google Chrome DevTools toolset allows us to analyze the code structure of webpages, analyze network connections, as well as protocol specifics such as HTTP headers and the HTTP POST body.