├── README.md ├── requirement.md ├── tut 1 intro ├── img │ └── profile-800x800.png ├── package-lock.json ├── package.json ├── server.js └── views │ ├── 404.html │ ├── index.html │ ├── new-page.html │ └── subdir │ ├── about.html │ └── index.html ├── tut 2 Middleware ├── basic.md ├── logs │ ├── errLog.txt │ └── reqLog.txt ├── middleware │ ├── errorHandler.js │ └── logEvents.js ├── package-lock.json ├── package.json ├── public │ └── img │ │ └── profile-800x800.png ├── server.js └── views │ ├── 404.html │ ├── index.html │ ├── new-page.html │ └── subdir │ ├── about.html │ └── index.html ├── tut 3 Routing ├── basic.md ├── data │ ├── employees.json │ └── salary.json ├── logs │ ├── errLog.txt │ └── reqLog.txt ├── middleware │ ├── errorHandler.js │ └── logEvents.js ├── package-lock.json ├── package.json ├── public │ ├── css │ │ └── style.css │ └── img │ │ └── profile-800x800.png ├── routes │ ├── api │ │ └── employees.js │ ├── root.js │ └── subdir.js ├── server.js └── views │ ├── 404.html │ ├── index.html │ ├── new-page.html │ └── subdir │ ├── about.html │ └── index.html └── tut 4 MVC REST API ├── basic.md ├── config └── corsOptions.js ├── controllers └── employeesController.js ├── data ├── employees.json └── salary.json ├── logs ├── errLog.txt └── reqLog.txt ├── middleware ├── errorHandler.js └── logEvents.js ├── model └── employees.js ├── package-lock.json ├── package.json ├── public ├── css │ └── style.css └── img │ └── profile-800x800.png ├── routes ├── root.js └── subdir.js ├── server.js └── views ├── 404.html ├── index.html ├── new-page.html └── subdir ├── about.html └── index.html /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/README.md -------------------------------------------------------------------------------- /requirement.md: -------------------------------------------------------------------------------- 1 | npm i express ( after initilizing the node project) 2 | -------------------------------------------------------------------------------- /tut 1 intro/img/profile-800x800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/img/profile-800x800.png -------------------------------------------------------------------------------- /tut 1 intro/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/package-lock.json -------------------------------------------------------------------------------- /tut 1 intro/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/package.json -------------------------------------------------------------------------------- /tut 1 intro/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/server.js -------------------------------------------------------------------------------- /tut 1 intro/views/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/views/404.html -------------------------------------------------------------------------------- /tut 1 intro/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/views/index.html -------------------------------------------------------------------------------- /tut 1 intro/views/new-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/views/new-page.html -------------------------------------------------------------------------------- /tut 1 intro/views/subdir/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/views/subdir/about.html -------------------------------------------------------------------------------- /tut 1 intro/views/subdir/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 1 intro/views/subdir/index.html -------------------------------------------------------------------------------- /tut 2 Middleware/basic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/basic.md -------------------------------------------------------------------------------- /tut 2 Middleware/logs/errLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/logs/errLog.txt -------------------------------------------------------------------------------- /tut 2 Middleware/logs/reqLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/logs/reqLog.txt -------------------------------------------------------------------------------- /tut 2 Middleware/middleware/errorHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/middleware/errorHandler.js -------------------------------------------------------------------------------- /tut 2 Middleware/middleware/logEvents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/middleware/logEvents.js -------------------------------------------------------------------------------- /tut 2 Middleware/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/package-lock.json -------------------------------------------------------------------------------- /tut 2 Middleware/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/package.json -------------------------------------------------------------------------------- /tut 2 Middleware/public/img/profile-800x800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/public/img/profile-800x800.png -------------------------------------------------------------------------------- /tut 2 Middleware/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/server.js -------------------------------------------------------------------------------- /tut 2 Middleware/views/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/views/404.html -------------------------------------------------------------------------------- /tut 2 Middleware/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/views/index.html -------------------------------------------------------------------------------- /tut 2 Middleware/views/new-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/views/new-page.html -------------------------------------------------------------------------------- /tut 2 Middleware/views/subdir/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/views/subdir/about.html -------------------------------------------------------------------------------- /tut 2 Middleware/views/subdir/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 2 Middleware/views/subdir/index.html -------------------------------------------------------------------------------- /tut 3 Routing/basic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/basic.md -------------------------------------------------------------------------------- /tut 3 Routing/data/employees.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/data/employees.json -------------------------------------------------------------------------------- /tut 3 Routing/data/salary.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/data/salary.json -------------------------------------------------------------------------------- /tut 3 Routing/logs/errLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/logs/errLog.txt -------------------------------------------------------------------------------- /tut 3 Routing/logs/reqLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/logs/reqLog.txt -------------------------------------------------------------------------------- /tut 3 Routing/middleware/errorHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/middleware/errorHandler.js -------------------------------------------------------------------------------- /tut 3 Routing/middleware/logEvents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/middleware/logEvents.js -------------------------------------------------------------------------------- /tut 3 Routing/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/package-lock.json -------------------------------------------------------------------------------- /tut 3 Routing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/package.json -------------------------------------------------------------------------------- /tut 3 Routing/public/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/public/css/style.css -------------------------------------------------------------------------------- /tut 3 Routing/public/img/profile-800x800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/public/img/profile-800x800.png -------------------------------------------------------------------------------- /tut 3 Routing/routes/api/employees.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/routes/api/employees.js -------------------------------------------------------------------------------- /tut 3 Routing/routes/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/routes/root.js -------------------------------------------------------------------------------- /tut 3 Routing/routes/subdir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/routes/subdir.js -------------------------------------------------------------------------------- /tut 3 Routing/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/server.js -------------------------------------------------------------------------------- /tut 3 Routing/views/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/views/404.html -------------------------------------------------------------------------------- /tut 3 Routing/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/views/index.html -------------------------------------------------------------------------------- /tut 3 Routing/views/new-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/views/new-page.html -------------------------------------------------------------------------------- /tut 3 Routing/views/subdir/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/views/subdir/about.html -------------------------------------------------------------------------------- /tut 3 Routing/views/subdir/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 3 Routing/views/subdir/index.html -------------------------------------------------------------------------------- /tut 4 MVC REST API/basic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/basic.md -------------------------------------------------------------------------------- /tut 4 MVC REST API/config/corsOptions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/config/corsOptions.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/controllers/employeesController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/controllers/employeesController.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/data/employees.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/data/employees.json -------------------------------------------------------------------------------- /tut 4 MVC REST API/data/salary.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/data/salary.json -------------------------------------------------------------------------------- /tut 4 MVC REST API/logs/errLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/logs/errLog.txt -------------------------------------------------------------------------------- /tut 4 MVC REST API/logs/reqLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/logs/reqLog.txt -------------------------------------------------------------------------------- /tut 4 MVC REST API/middleware/errorHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/middleware/errorHandler.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/middleware/logEvents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/middleware/logEvents.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/model/employees.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/model/employees.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/package-lock.json -------------------------------------------------------------------------------- /tut 4 MVC REST API/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/package.json -------------------------------------------------------------------------------- /tut 4 MVC REST API/public/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/public/css/style.css -------------------------------------------------------------------------------- /tut 4 MVC REST API/public/img/profile-800x800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/public/img/profile-800x800.png -------------------------------------------------------------------------------- /tut 4 MVC REST API/routes/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/routes/root.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/routes/subdir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/routes/subdir.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/server.js -------------------------------------------------------------------------------- /tut 4 MVC REST API/views/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/views/404.html -------------------------------------------------------------------------------- /tut 4 MVC REST API/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/views/index.html -------------------------------------------------------------------------------- /tut 4 MVC REST API/views/new-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/views/new-page.html -------------------------------------------------------------------------------- /tut 4 MVC REST API/views/subdir/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/views/subdir/about.html -------------------------------------------------------------------------------- /tut 4 MVC REST API/views/subdir/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshbailurkar/Express-JS/HEAD/tut 4 MVC REST API/views/subdir/index.html --------------------------------------------------------------------------------