├── .gitignore ├── README.MD ├── imgur_scraping ├── app.js ├── package.json └── scraper.js ├── mean_setup ├── README.md ├── gulpfile.js ├── package.json ├── public │ ├── app │ │ ├── app.component.html │ │ ├── app.component.js │ │ ├── app.component.ts │ │ ├── app.module.js │ │ ├── app.module.ts │ │ ├── app.routing.js │ │ ├── app.routing.ts │ │ ├── main.js │ │ └── main.ts │ ├── assets │ │ └── css │ │ │ └── styles.css │ ├── index.html │ └── systemjs.config.js ├── server.js ├── server │ ├── config │ │ ├── config.js │ │ ├── database.js │ │ ├── env │ │ │ └── development.json │ │ └── express.js │ └── views │ │ └── 404.html └── tsconfig.json ├── mongoose ├── README.md ├── app.js ├── app2.js ├── book.model.js └── package.json ├── ng2_node ├── optionA │ ├── .gitignore │ ├── README.md │ ├── gulpfile.js │ ├── package.json │ ├── public │ │ ├── app │ │ │ ├── app.component.js │ │ │ ├── app.component.ts │ │ │ ├── app.module.js │ │ │ ├── app.module.ts │ │ │ ├── app.routing.js │ │ │ ├── app.routing.ts │ │ │ ├── app.template.html │ │ │ ├── home │ │ │ │ ├── home.component.js │ │ │ │ ├── home.component.ts │ │ │ │ ├── home.styles.css │ │ │ │ └── home.template.html │ │ │ ├── main.js │ │ │ ├── main.ts │ │ │ └── shared │ │ │ │ ├── css │ │ │ │ └── styles.css │ │ │ │ ├── socket.service.js │ │ │ │ └── socket.service.ts │ │ ├── index.html │ │ └── systemjs.config.js │ ├── server.js │ ├── server │ │ └── routes.js │ ├── tsconfig.json │ └── yarn.lock └── optionB │ ├── .gitignore │ ├── README.md │ ├── gulpfile.js │ ├── index.html │ ├── package.json │ ├── public │ ├── app.component.js │ ├── app.component.ts │ ├── app.module.js │ ├── app.module.ts │ ├── app.routing.js │ ├── app.routing.ts │ ├── app.template.html │ ├── home │ │ ├── home.component.js │ │ ├── home.component.ts │ │ ├── home.styles.css │ │ └── home.template.html │ ├── main.js │ ├── main.ts │ └── shared │ │ ├── css │ │ └── styles.css │ │ ├── socket.service.js │ │ └── socket.service.ts │ ├── server.js │ ├── server │ └── routes.js │ ├── systemjs.config.js │ ├── tsconfig.json │ └── yarn.lock └── servers ├── README.md ├── package.json ├── server.js ├── server2.js ├── server_old.js └── views └── index.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/.gitignore -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/README.MD -------------------------------------------------------------------------------- /imgur_scraping/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/imgur_scraping/app.js -------------------------------------------------------------------------------- /imgur_scraping/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/imgur_scraping/package.json -------------------------------------------------------------------------------- /imgur_scraping/scraper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/imgur_scraping/scraper.js -------------------------------------------------------------------------------- /mean_setup/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/README.md -------------------------------------------------------------------------------- /mean_setup/gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/gulpfile.js -------------------------------------------------------------------------------- /mean_setup/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/package.json -------------------------------------------------------------------------------- /mean_setup/public/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/app.component.html -------------------------------------------------------------------------------- /mean_setup/public/app/app.component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/app.component.js -------------------------------------------------------------------------------- /mean_setup/public/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/app.component.ts -------------------------------------------------------------------------------- /mean_setup/public/app/app.module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/app.module.js -------------------------------------------------------------------------------- /mean_setup/public/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/app.module.ts -------------------------------------------------------------------------------- /mean_setup/public/app/app.routing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/app.routing.js -------------------------------------------------------------------------------- /mean_setup/public/app/app.routing.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mean_setup/public/app/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/main.js -------------------------------------------------------------------------------- /mean_setup/public/app/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/app/main.ts -------------------------------------------------------------------------------- /mean_setup/public/assets/css/styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mean_setup/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/index.html -------------------------------------------------------------------------------- /mean_setup/public/systemjs.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/public/systemjs.config.js -------------------------------------------------------------------------------- /mean_setup/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/server.js -------------------------------------------------------------------------------- /mean_setup/server/config/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/server/config/config.js -------------------------------------------------------------------------------- /mean_setup/server/config/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/server/config/database.js -------------------------------------------------------------------------------- /mean_setup/server/config/env/development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/server/config/env/development.json -------------------------------------------------------------------------------- /mean_setup/server/config/express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/server/config/express.js -------------------------------------------------------------------------------- /mean_setup/server/views/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/server/views/404.html -------------------------------------------------------------------------------- /mean_setup/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mean_setup/tsconfig.json -------------------------------------------------------------------------------- /mongoose/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mongoose/README.md -------------------------------------------------------------------------------- /mongoose/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mongoose/app.js -------------------------------------------------------------------------------- /mongoose/app2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mongoose/app2.js -------------------------------------------------------------------------------- /mongoose/book.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mongoose/book.model.js -------------------------------------------------------------------------------- /mongoose/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/mongoose/package.json -------------------------------------------------------------------------------- /ng2_node/optionA/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/.gitignore -------------------------------------------------------------------------------- /ng2_node/optionA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/README.md -------------------------------------------------------------------------------- /ng2_node/optionA/gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/gulpfile.js -------------------------------------------------------------------------------- /ng2_node/optionA/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/package.json -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/app.component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/app.component.js -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/app.component.ts -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/app.module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/app.module.js -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/app.module.ts -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/app.routing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/app.routing.js -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/app.routing.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/app.template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/app.template.html -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/home/home.component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/home/home.component.js -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/home/home.component.ts -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/home/home.styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/home/home.styles.css -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/home/home.template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/home/home.template.html -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/main.js -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/main.ts -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/shared/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/shared/css/styles.css -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/shared/socket.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/shared/socket.service.js -------------------------------------------------------------------------------- /ng2_node/optionA/public/app/shared/socket.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/app/shared/socket.service.ts -------------------------------------------------------------------------------- /ng2_node/optionA/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/index.html -------------------------------------------------------------------------------- /ng2_node/optionA/public/systemjs.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/public/systemjs.config.js -------------------------------------------------------------------------------- /ng2_node/optionA/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/server.js -------------------------------------------------------------------------------- /ng2_node/optionA/server/routes.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ng2_node/optionA/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/tsconfig.json -------------------------------------------------------------------------------- /ng2_node/optionA/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionA/yarn.lock -------------------------------------------------------------------------------- /ng2_node/optionB/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/.gitignore -------------------------------------------------------------------------------- /ng2_node/optionB/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/README.md -------------------------------------------------------------------------------- /ng2_node/optionB/gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/gulpfile.js -------------------------------------------------------------------------------- /ng2_node/optionB/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/index.html -------------------------------------------------------------------------------- /ng2_node/optionB/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/package.json -------------------------------------------------------------------------------- /ng2_node/optionB/public/app.component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/app.component.js -------------------------------------------------------------------------------- /ng2_node/optionB/public/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/app.component.ts -------------------------------------------------------------------------------- /ng2_node/optionB/public/app.module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/app.module.js -------------------------------------------------------------------------------- /ng2_node/optionB/public/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/app.module.ts -------------------------------------------------------------------------------- /ng2_node/optionB/public/app.routing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/app.routing.js -------------------------------------------------------------------------------- /ng2_node/optionB/public/app.routing.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ng2_node/optionB/public/app.template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/app.template.html -------------------------------------------------------------------------------- /ng2_node/optionB/public/home/home.component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/home/home.component.js -------------------------------------------------------------------------------- /ng2_node/optionB/public/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/home/home.component.ts -------------------------------------------------------------------------------- /ng2_node/optionB/public/home/home.styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/home/home.styles.css -------------------------------------------------------------------------------- /ng2_node/optionB/public/home/home.template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/home/home.template.html -------------------------------------------------------------------------------- /ng2_node/optionB/public/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/main.js -------------------------------------------------------------------------------- /ng2_node/optionB/public/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/main.ts -------------------------------------------------------------------------------- /ng2_node/optionB/public/shared/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/shared/css/styles.css -------------------------------------------------------------------------------- /ng2_node/optionB/public/shared/socket.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/shared/socket.service.js -------------------------------------------------------------------------------- /ng2_node/optionB/public/shared/socket.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/public/shared/socket.service.ts -------------------------------------------------------------------------------- /ng2_node/optionB/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/server.js -------------------------------------------------------------------------------- /ng2_node/optionB/server/routes.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ng2_node/optionB/systemjs.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/systemjs.config.js -------------------------------------------------------------------------------- /ng2_node/optionB/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/tsconfig.json -------------------------------------------------------------------------------- /ng2_node/optionB/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/ng2_node/optionB/yarn.lock -------------------------------------------------------------------------------- /servers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/servers/README.md -------------------------------------------------------------------------------- /servers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/servers/package.json -------------------------------------------------------------------------------- /servers/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/servers/server.js -------------------------------------------------------------------------------- /servers/server2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/servers/server2.js -------------------------------------------------------------------------------- /servers/server_old.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/servers/server_old.js -------------------------------------------------------------------------------- /servers/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jakblak/nodeJS_examples/HEAD/servers/views/index.html --------------------------------------------------------------------------------