I am developping a custom search API from VuePress static websites and I needed to host it.
Since I have a Cloudways VPS, let's see how to run the REST API.
About 2 min
I am developping a custom search API from VuePress static websites and I needed to host it.
Since I have a Cloudways VPS, let's see how to run the REST API.
The following article is a copy of https://www.freecodecamp.org/news/build-consume-and-document-a-rest-api/, an article written by Germán Cocca.
I used it to learn the basis of API development with NodeJS.
I particularly like the folder structure and empahasis on the architecture.
Debugging is the life of any developper. It allows you to check when your code doesn't behave... because you gave it the wrong instructions.
Let's dive into how to enable it in Visual Studio Code. It will be quick.