{"id":18614880,"url":"https://github.com/andrewjbateman/nodejs-tutorial-notepad","last_synced_at":"2025-08-04T18:42:28.638Z","repository":{"id":42206770,"uuid":"164000826","full_name":"AndrewJBateman/nodejs-tutorial-notepad","owner":"AndrewJBateman","description":":clipboard: Code to practise using node.js, following Udemy tutorial.","archived":false,"fork":false,"pushed_at":"2022-12-13T21:41:40.000Z","size":492,"stargazers_count":0,"open_issues_count":62,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T10:07:47.119Z","etag":null,"topics":["css3","express-middleware","html5","javascript","nodejs","udemy-tutorial"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-03T17:04:55.000Z","updated_at":"2021-06-19T10:29:08.000Z","dependencies_parsed_at":"2023-01-28T15:15:29.514Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/nodejs-tutorial-notepad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/nodejs-tutorial-notepad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnodejs-tutorial-notepad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnodejs-tutorial-notepad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnodejs-tutorial-notepad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnodejs-tutorial-notepad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/nodejs-tutorial-notepad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnodejs-tutorial-notepad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262235783,"owners_count":23279567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css3","express-middleware","html5","javascript","nodejs","udemy-tutorial"],"created_at":"2024-11-07T03:27:17.656Z","updated_at":"2025-06-27T10:07:54.608Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"JavaScript","readme":"# :zap: Node.js Tutorial Notepad\n\n* Code to learn to learn Node.js.\n* Part of a [Udemy NodeJS - The Complete Guide (incl. MVC, REST APIs, GraphQL)](https://www.udemy.com/nodejs-the-complete-guide/).\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/nodejs-tutorial-notepad?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/nodejs-tutorial-notepad?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/nodejs-tutorial-notepad?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/nodejs-tutorial-notepad?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [General info](#general-info)\n* [Screenshots](#screenshots)\n* [Technologies](#technologies)\n* [Setup](#setup)\n* [Features](#features)\n* [Status](#status)\n* [Inspiration](#inspiration)\n* [Contact](#contact)\n\n## :books: General info\n\n* Assignment 1 (section 3): Assignment very simple\n* Assignment 2: Uses Express middleware to send text using res.send to home page ('/') and (/users) page. [link to Express documentation on app.use](http://expressjs.com/es/api.html#app.use)\n* Assignment 3: Navigation\n* Assignment 4: Templating engine ejs\n* Section 5: Working with Express\n* Section 6: HTML to Ejs, HTML to Handlebars, HTML to Pug\n\n## :camera: Screenshots\n\n![screenprint](./img/Assignment2.png)\n![screenprint](./img/Assignment3.png)\n\n## :signal_strength: Technologies\n\n* [Node.js v12](https://nodejs.org)\n* [Express v4](https://www.npmjs.com/package/express)\n* [Embedded Javascript Templating ejs v3](https://ejs.co/) creates HTML markup with plain javascript.\n\n* **Note:** As of Express version 4.16+, a body-parser implementation is now included in the default Express package so there is no need to download another `body-parser` dependency.\n\n## :floppy_disk: Setup\n\n* For all assignment/Sections: install dependencies with `npm i` then type `nodemon app.js` \u0026 open browser at `localhost:5000`.\n\n## :computer: Code Examples\n\n* extract from `Section6_ejs/views/add-product.ejs` showing use of ejs templating\n\n```html\n\u003cbody\u003e\n   \u003c%- include('includes/navigation.ejs') %\u003e\n\n    \u003cmain\u003e\n        \u003cform class=\"product-form\" action=\"/admin/add-product\" method=\"POST\"\u003e\n            \u003cdiv class=\"form-control\"\u003e\n                \u003clabel for=\"title\"\u003eTitle\u003c/label\u003e\n                \u003cinput type=\"text\" name=\"title\" id=\"title\"\u003e\n            \u003c/div\u003e\n\n            \u003cbutton class=\"btn\" type=\"submit\"\u003eAdd Product\u003c/button\u003e\n        \u003c/form\u003e\n    \u003c/main\u003e\n\u003c%- include('includes/end.ejs') %\u003e\n```\n\n## :cool: Features\n\n* tba\n\n## :clipboard: App Status \u0026 To-do list\n\n* Status: Incomplete\n* To-Do: complete \u0026 comment code\n\n## :clap: Inspiration\n\n* [NodeJS - The Complete Guide (incl. MVC, REST APIs, GraphQL)](https://www.udemy.com/nodejs-the-complete-guide/)\n* [What are the best JavaScript templating engines?](https://www.slant.co/topics/51/~best-javascript-templating-engines#26)\n\n## :file_folder: License\n\n* N/A.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnodejs-tutorial-notepad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnodejs-tutorial-notepad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnodejs-tutorial-notepad/lists"}