{"id":18914003,"url":"https://github.com/hanyhm/webdev","last_synced_at":"2026-04-16T19:37:39.046Z","repository":{"id":229822380,"uuid":"777624073","full_name":"hanyhm/WebDev","owner":"hanyhm","description":"Backend NodeJS, express, mongodb course notes","archived":false,"fork":false,"pushed_at":"2024-07-12T15:32:44.000Z","size":5512,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T14:28:28.399Z","etag":null,"topics":["backend","express","mongodb","nodejs","nodemon"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanyhm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-26T07:53:13.000Z","updated_at":"2024-07-09T00:10:19.000Z","dependencies_parsed_at":"2024-07-12T17:50:39.299Z","dependency_job_id":null,"html_url":"https://github.com/hanyhm/WebDev","commit_stats":null,"previous_names":["hanyhm/webdev"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyhm%2FWebDev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyhm%2FWebDev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyhm%2FWebDev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyhm%2FWebDev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanyhm","download_url":"https://codeload.github.com/hanyhm/WebDev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239907240,"owners_count":19716584,"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":["backend","express","mongodb","nodejs","nodemon"],"created_at":"2024-11-08T10:09:35.798Z","updated_at":"2025-10-13T15:35:40.714Z","avatar_url":"https://github.com/hanyhm.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node JS Backend Course\n\n## Node JS Outline\n\n### Session 1\n#### What is Back-end Development\n- Request – response cycle\n- What is a server and why do we use it\n- Requests methods\n\n#### Node JS\n- What is NodeJS, what is runtime environment.\n- How To Run a node file.\n- Require, module.exports\n- Package.json\n- Type module\n- dependencies\n\n#### What is a module and its types (local, built in, third party)\n- Module Scope\n- Module Caching\n- Streams and buffers\n- pipes\n- Built in Modules\n  - Path module\n  - Events module\n  - Fs module\n  - http module\n- Creating a node server\n\n## Session 2\n- HTTP Routing\n- Requests\n  - Params\n    - URL\n    - Body\n- Response\n- Headers\n  - Content-Type\n  - Json response\n  - HTML Response\n  - HTTP Response Code\n- Libuv\n- Thread Pool\n- Event Loop\n  - Micro Task queue\n  - Timer Queue\n  - I/O Queue\n  - I/O Polling\n  - Check Queue\n  - Close Queue\n- NPM\n\n## Session 3\n- Express\n  - Installation\n  - Creating a server\n  - Routes\n    - Get\n    - Post\n    - Patch\n    - Put\n    - Delete\n- MVC\n- Controllers\n- Middleware\n- Router\n- Error handling\n  - Try\n  - Catch\n  - Throw\n  - Error\n\n## Session 4\n- Database\n  - Intro to databases\n  - What is a database\n  - Sql VS noSql\n  - Relational vs non-relational databases\n- Mongo\n  - Collections\n  - Documents\n  - Mongo compass\n  - Linking mongo to node js\n  - CRUD Operations\n    - Insert One\n    - Insert Many\n    - Find\n    - Find one\n    - Finding nested documents (objects or arrays)\n    - Finding null or missing documents\n    - Update one\n    - Update Many\n    - Replace one\n    - Delete one\n    - Delete many\n\n## Session 5\n- Operators\n  - Field operators\n    - Set\n    - Min\n    - Max\n    - Mul\n    - Unset\n    - Rename\n    - Current date\n  - Array operators\n    - $\n    - []\n    - [identifier]\n    - Push\n    - Pop\n    - Pull\n  - Query operators\n    - Comparison\n      - Eq\n      - Gt\n      - Gte\n      - In\n      - Lt\n      - Lte\n      - Ne\n      - Nin\n    - Logical\n      - And\n      - Or\n      - Not\n      - Nor\n    - Element\n      - Exists\n      - Type\n  - Projection operators\n  - Update operators\n\n## Session 6\n- Cursor\n- Projection\n- Indexes\n  - Single-field index\n  - Compound index\n  - Multikey index\n  - Text index\n  - Geospatial index\n- Data modelling\n  - Relations\n  - Embed\n  - Reference\n    - One – one\n    - One – many\n    - One - few\n    - One – ton\n    - Many – many\n\n## Session 7\n- Aggregations\n  - What is aggregations\n  - Aggregation stages\n  - Aggregation operators\n    - Match\n    - Group\n    - Project\n    - Push\n    - Unwind\n    - Bucket\n    - Look up\n\n## Session 8\n- Mongoose\n  - Models\n  - Schemas\n  - Crud operations\n  - Operators\n  - Aggregations\n  - Indexes\n- Sequelize\n  - Sql databases\n  - How to connect sequelize to node js\n\n## Session 9\n- Making a crud operations project using DB\n- Additional Express\n  - Models\n    - Creating models\n    - Schemas\n    - Dealing with models in controllers\n  - JSend\n    - Response message\n    - Response status code\n    - Data\n    - Errors\n\n## Session 10\n- Express validator\n  - Body\n  - Types of validators\n    - Is empty\n    - In email\n    - Is phone\n    - Custom validators\n    - With message\n  - Validation results\n- CORS\n  - Origin\n  - Accept\n  - Headers\n- Dot env\n  - What is environment\n  - Port\n  - Salt\n  - Keys\n- BCrypt\n  - Hash\n  - Salt\n  - Verify\n\n## Session 11\n- Authentication and authorization\n- JWT\n  - Header\n  - Payload\n  - Signature\n  - Sign\n  - Verifying token\n  - Adding token to response cookie\n\n## Session 12\n- Multer\n  - single\n  - array\n  - disk storage\n  - limits\n  - file filter\n  - error handling\n- Node Mailer\n- Sending text messages\n  - Twilio\n\n## Session 13\n- Web Sockets\n  - What is web socket\n  - Events\n  - Emits\n  - Socket\n  - Broadcasting\n  - Chat app\n\n## Session 14 – 19\n- Full project workshop (Node + React)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanyhm%2Fwebdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanyhm%2Fwebdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanyhm%2Fwebdev/lists"}