You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can install and generate an express app using this tool in two approaches. Here I'm generating an app with name `my-app`, you can name to it anything you like.
19
15
@@ -51,7 +47,7 @@ npm run sync
51
47
```
52
48
If you want to run all these servers together then you should to use this below command, this command will provide you hot reloadings in every place.
53
49
```bash
54
-
npm run server & npm run server
50
+
npm run server & npm run sync
55
51
```
56
52
57
53
## File Cases
@@ -60,13 +56,14 @@ To know about the product or project structure read about files included in this
60
56
```bash
61
57
.
62
58
βββ app.js # this core file handles express functions and server.
63
-
βββ nets.js # this file provides functions to display available ip addresses on your network.
64
59
βββ package.json # package file handles dependencies, and details about the product.
65
60
βββ public # this folder contains public data like fonts, css and multimedia.
66
61
βΒ Β βββ fonts
67
62
βΒ Β βΒ Β βββ sans.woff
68
63
βΒ Β βββ style.css
69
64
βββ sync.js # this file is needed to configure hot reloadings in ejs and static files.
65
+
βββ utils
66
+
βΒ Β βββ nets.js # this file provides functions to display available ip addresses on your network.
70
67
βββ views # this folder contains ejs or html files to render contents.
71
68
βββ home.ejs # this file is the landing page of the product.
0 commit comments