This week, I got a task to write swagger document, at the beginning, I thought it wasn't hard. But.... after I got stuck for a few days, now i got my first swagger working in azure. My swagger not perfect, but good enough ! I am using NodeJS as environment, main package is swagger. Notice … Continue reading write swagger in Node js locally and deploy it to Azure
This one question follows me all the time, when I config my web app and API. Note: I have a client app and a server API in Azure. In the following picture, it showed that I was in my client side web app. And I want to consent to access my API (todolist2) as a … Continue reading Delegated Permission ?!
I have one Node.js API which connected to database in Azure. Now I want to deploy it into Azure. The easiest way is : open your portal of azure. Click "New", then create "Web App". Type your app name, and create ResourceGroup if you don't have. You also can choose App service location. I suggest … Continue reading My first experience of deploying API on Azure
I am weak in this Routing path. Here is some basic note for what I have learned. I don't think it is hard to understand, so I won't explain one by one. However, the important tip is ' * ', Unless those paths what I have, if clients input other paths or routes, page will … Continue reading Routing in Express
Recently, I have to touch upon Node.js. There is 2 different function, which is 'res.send()' and 'res.write()', What is the difference ? Answer is from stack overflow.
Everything is learned from W3shcool URL Module. Now it is result:
Honestly, it is not my real first express app, I have followed many tutorials to make app. But only this one is what I started to code by myself without tutorial. Thus, now it is a new journey to back-end area. Here is some basic code,
I have followed this tutorial, which is easy to understand. But i feel it is good to read it again and pick some notes, so here is my notes. . Node is an event driven language that can play the same role as Apache. It will interpret the client-side code to produce the web page. … Continue reading First_node_app_learning