Skip to content

Commit c333c45

Browse files
Update README.md
1 parent 83372df commit c333c45

1 file changed

Lines changed: 19 additions & 21 deletions

File tree

README.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,15 @@ app.get('/', (req, res) => { res.send('Hello world'); })<br />
149149
app.listen("4000", () => console.log("Server is running on port 4000"));<br /><br />
150150
```
151151

152-
4. With expressJs you can create Web application, Middleware (API).<br />
152+
5. With expressJs you can create Web application, Middleware (API).<br />
153153
Which is easier to interagte with application.<br /><br />
154154

155155

156-
5. Basic routing :<br />
157-
// You can see how to handle the routing using the express JS like get/post<br />
158-
// you can see below for more details about routing.<br />
159-
>https://expressjs.com/en/starter/basic-routing.html
156+
6. Basic routing :<br />
157+
- You can see how to handle the routing using the express JS like get/post<br />
158+
- you can see below for more details about routing.<br />
159+
>https://expressjs.com/en/starter/basic-routing.html
160+
<br/>
160161
```ruby
161162
<h3>Index.js </h3>
162163

@@ -188,31 +189,28 @@ app.listen("4000", () => console.log("Server is running on port 4000"));<br />
188189

189190
4. It provide the step by step way to do that.
190191

191-
5. After installed it successfully, used below command to get the application template.
192-
```express E:\node_tutorial\day11-ExpressAppGenerator```
192+
- Open Installed Node Manager Command prompt.
193193

194-
6. Move to ```cd E:\node_tutorial\day11-ExpressAppGenerator```
195-
196-
7. Now run the application as below.
197-
198-
8. Now get the template of pug instade of creating blank and default template.
194+
- Install Application Manager based on your template requirment
195+
like below we use ejs creating blank and default template.
199196
```express --view=ejs E:\node_tutorial\day11-ExpressAppGenerator```
200197

201-
9. Than install all the packages
198+
- Open application in visual studio Code.
199+
200+
- Open Terminal and than install all the packages <br />
202201
```npm install```
203202

204-
10. Now we run the application by.
203+
- Now we run the application by.
205204
``` SET DEBUG=day11-expressappgenerator:* & npm start ```
206205

207-
11. It create all the structure of application which is required.
208-
a) Public -- Whch is work like assets folder having image, Script and style locations.
209-
b) Routes -- It contain the defination of all rotings.
210-
c) View -- All application view.
211-
212-
12. To add any view or update the any view you need to check the view file.
206+
5. It create all the structure of application which is required.
207+
a) Public -- Whch is work like assets folder having image, Script and style locations. <br />
208+
b) Routes -- It contain the defination of all rotings. <br />
209+
c) View -- All application view. <br />
213210

211+
6. To add any view or update the any view you need to check the view file.
214212

215-
<b>index.ejs </b>
213+
>index.ejs
216214
217215
```ruby
218216

0 commit comments

Comments
 (0)