File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Backend development involves building the server-side logic of web applications.
3030
31311 . ** Install Node.js and npm** : Download and install Node.js, which includes npm (Node Package Manager) [ 2] .
3232
33- ```
33+ ``` powershell
3434node -v
3535npm -v
3636```
@@ -44,13 +44,17 @@ cd my-node-project
4444
45453 . ** Initialize Your Project** :
4646
47- ` npm init `
47+ ``` powershell
48+ npm init
49+ ```
4850
4951This creates a ` package.json ` file to manage dependencies [ 2] .
5052
51534 . ** Install Express.js** :
5254
53- ` npm install express `
55+ ``` powershell
56+ npm install express
57+ ```
5458
5559A basic folder structure includes:
5660
@@ -64,8 +68,10 @@ A basic folder structure includes:
6468
6569To set up this structure:
6670
67- `mkdir controllers models routes middlewares utils config
68- touch server.js`
71+ ``` powershell
72+ mkdir controllers models routes middlewares utils config
73+ touch server.js
74+ ```
6975
7076## ** Express.js Basics**
7177
@@ -128,7 +134,7 @@ export default defineConfig({
128134 },
129135 },
130136 },
131- });
137+ });
132138```
133139
134140- ` target ` : The URL to proxy to.
You can’t perform that action at this time.
0 commit comments