Please enable JavaScript.
Coggle requires JavaScript to display documents.
Lab 4-Structure of Projects (web (src (models, repositories, services,…
Lab 4-Structure of Projects
web
configs
public
src
models
repositories
services
controllers
utilities
views
index.js
package.json
package.json
ejs
config middleware
app.use(express.static(path.join(
dirname,"public")));
app.set("view engine","ejs");
app.set("views",path.join(
dirname,"views"));
Restful-API
configs
public
src
models
repositories
services
routers
utilities
index.js
package.json