{"id":25636427,"url":"https://github.com/nullthefirst/brf-web-server","last_synced_at":"2026-02-28T12:41:56.318Z","repository":{"id":268664664,"uuid":"845921330","full_name":"nullthefirst/brf-web-server","owner":"nullthefirst","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-22T07:29:38.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T08:42:51.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/nullthefirst.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-22T07:28:34.000Z","updated_at":"2024-08-22T07:29:22.000Z","dependencies_parsed_at":"2024-12-18T13:19:55.486Z","dependency_job_id":null,"html_url":"https://github.com/nullthefirst/brf-web-server","commit_stats":null,"previous_names":["pipetauo/brf-web-server","chieftey/brf-web-server","usheninte/brf-web-server","nullthefirst/brf-web-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nullthefirst/brf-web-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullthefirst%2Fbrf-web-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullthefirst%2Fbrf-web-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullthefirst%2Fbrf-web-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullthefirst%2Fbrf-web-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullthefirst","download_url":"https://codeload.github.com/nullthefirst/brf-web-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullthefirst%2Fbrf-web-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29934447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T12:34:16.884Z","status":"ssl_error","status_checked_at":"2026-02-28T12:34:13.721Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-02-23T00:47:15.076Z","updated_at":"2026-02-28T12:41:56.299Z","avatar_url":"https://github.com/nullthefirst.png","language":null,"readme":"### Exercise: Build a Simple Web Server\n\n**Objective:**  \nUnderstand how to build a web server from scratch using plain JavaScript and compare it with creating the same server using Express, a web framework for NodeJS.\n\n#### Part 1: Plain Node\n\n1. **Create a Simple HTTP Server: (Individual)**\n   - Use Node.js's built-in `http` module to create a simple web server.\n   - The server should handle two routes: `/` (home) and `/about`.\n   - In the `/` route, return a simple welcome message.\n   - In the `/about` route, return basic information about yourself (e.g., your name, interests, or a short bio).\n   - Ensure the server returns a 404 status with a custom message for any other routes.\n\n2. **Discuss the Challenges: (Group)**\n   - After completing the server, identify and discuss the challenges faced, such as routing, handling different HTTP methods, and setting up middleware.\n\n#### Part 2: Using Express\n\n1. **Rebuild the Server with Express: (Individual)**\n   - Set up the same server using Express.\n   - Ensure it has the same routes (`/` and `/about`), with the `/about` route returning your basic information.\n\n2. **Compare and Discuss: (Group)**\n   - Compare the two approaches and discuss the benefits of using Express.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullthefirst%2Fbrf-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullthefirst%2Fbrf-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullthefirst%2Fbrf-web-server/lists"}