API | Create a Fully Working API with Node.js and Express - EHB
In this post I am going to show you how you can create an API to get some data with the help of Node.js and Express. Here we are going to create a simple API that sends the word "Hello". Let's get started now that you know what we are going to do. Make sure you have installed and setup Node.js on your computer. If you haven't installed it yet, then you can download it here . We will be using Hyper Terminal in this post. You can use any terminal you are familiar with. Step 1: Create a folder called "backend" In the first step, we are simply going to create a folder named "backend". You can name it whatever you want. You can create a folder in two ways: Making Use of the Mouse Use a mouse or trackpad and "Right-Click > New > Folder" . Making Use of Terminal Open the Terminal and use the cd command to go to the location where you want to create the folder. For simplicity's sake, I am going to create the fol...