{"id":16890243,"url":"https://github.com/marak/hellonode","last_synced_at":"2025-04-11T13:09:23.207Z","repository":{"id":882025,"uuid":"627360","full_name":"Marak/hellonode","owner":"Marak","description":"( used for testing ) a sample node.js application with a well-formed package.json that has contains required fields for nodejitsu deployment","archived":false,"fork":false,"pushed_at":"2016-12-27T11:27:15.000Z","size":827,"stargazers_count":20,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T11:12:39.141Z","etag":null,"topics":[],"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/Marak.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":"2010-04-24T23:56:42.000Z","updated_at":"2024-08-24T02:02:01.000Z","dependencies_parsed_at":"2022-07-15T04:30:53.562Z","dependency_job_id":null,"html_url":"https://github.com/Marak/hellonode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marak%2Fhellonode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marak%2Fhellonode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marak%2Fhellonode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marak%2Fhellonode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marak","download_url":"https://codeload.github.com/Marak/hellonode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248404838,"owners_count":21097839,"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":[],"created_at":"2024-10-13T17:01:28.627Z","updated_at":"2025-04-11T13:09:23.158Z","avatar_url":"https://github.com/Marak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hellonode! \nthe simplest possible http server hello world example in node\n\n## features\n\n - Example package.json\n - Starts up simple httpServer with helloworld\n\n## installation\n\n     git clone git://github.com/Marak/hellonode.git\n     cd hellonode\n     node server.js\n\nNow you should have a listening node.js http server running on port 80\n\n## the code\n\n    // requires node's http module\n    var http = require('http');\n\n    // creates a new httpServer instance\n    http.createServer(function (req, res) {\n      \n      // ^^ this is the callback, or request handler for the httpServer\n      \n      // respond to the browser, write some headers so the \n      // browser knows what type of content we are sending\n      res.writeHead(200, {'Content-Type': 'text/plain'});\n      \n      // write some content to the browser that your user will see\n      res.write('hello, i know nodejitsu.')\n      \n      // close the response\n      res.end();\n      \n    }).listen(80); // the server will listen on port 80\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarak%2Fhellonode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarak%2Fhellonode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarak%2Fhellonode/lists"}