Skip to content

Commit e952c08

Browse files
Update README.md
1 parent 32edcc0 commit e952c08

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -160,24 +160,24 @@ Which is easier to interagte with application.<br /><br />
160160
- you can see below for more details about routing.<br />
161161
>https://expressjs.com/en/starter/basic-routing.html
162162
163-
```ruby
164163
<h3>Index.js </h3>
165164

166-
========================<br />
167-
const ex = require("express");<br />
168-
const app = ex();<br />
165+
```ruby
169166

170-
app.get('/', (req, res) => { res.send('Hello world'); })<br /><br />
167+
const ex = require("express");
168+
const app = ex();
169+
170+
app.get('/', (req, res) => { res.send('Hello world'); })
171171

172-
// like above you can defined with parameter<br />
173-
app.get('/Books', (req, res) => { res.send('Book selves'); })<br />
172+
// like above you can defined with parameter
173+
app.get('/Books', (req, res) => { res.send('Book selves'); })
174174

175-
// Above you can seen only te get methods, <br />
176-
// What happend if there is post method like below, Then you can not access from URL.<br />
177-
// You can either use postmn or Fiddler to check the post methods<br />
178-
app.post('/Books/NewBook', (req, res) => { res.send('Book selves'); })<br /><br />
175+
// Above you can seen only te get methods,
176+
// What happend if there is post method like below, Then you can not access from URL.
177+
// You can either use postmn or Fiddler to check the post methods
178+
app.post('/Books/NewBook', (req, res) => { res.send('Book selves'); })
179179

180-
app.listen("4000", () => console.log("Server is running on port 4000"));<br />
180+
app.listen("4000", () => console.log("Server is running on port 4000"));
181181
```
182182

183183
## Day 11 - Express App Generator
@@ -194,15 +194,15 @@ app.listen("4000", () => console.log("Server is running on port 4000"));<br />
194194
- Open Installed Node Manager Command prompt.
195195

196196
- Install Application Manager based on your template requirment
197-
like below we use ejs creating blank and default template.
197+
like below we use ejs creating blank and default template. <br />
198198
```express --view=ejs E:\node_tutorial\day11-ExpressAppGenerator```
199199

200-
- Open application in visual studio Code.
200+
- Open application in visual studio Code.<br />
201201

202202
- Open Terminal and than install all the packages <br />
203203
```npm install```
204204

205-
- Now we run the application by.
205+
- Now we run the application by.<br />
206206
``` SET DEBUG=day11-expressappgenerator:* & npm start ```
207207

208208
5. It create all the structure of application which is required.

0 commit comments

Comments
 (0)