{"id":22688192,"url":"https://github.com/emanuelefavero/node-basics","last_synced_at":"2025-03-29T16:13:09.291Z","repository":{"id":235810817,"uuid":"791302451","full_name":"emanuelefavero/node-basics","owner":"emanuelefavero","description":"This is a simple Node.js project that demonstrates the basic features of Node.js.","archived":false,"fork":false,"pushed_at":"2024-04-25T12:03:56.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T16:50:25.721Z","etag":null,"topics":["api","http","middleware","node","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emanuelefavero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-24T13:24:28.000Z","updated_at":"2024-04-25T12:04:00.000Z","dependencies_parsed_at":"2024-04-24T16:46:13.314Z","dependency_job_id":"32538a79-62c3-40eb-966f-8cfdef83414b","html_url":"https://github.com/emanuelefavero/node-basics","commit_stats":null,"previous_names":["emanuelefavero/node-basics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnode-basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnode-basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnode-basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnode-basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelefavero","download_url":"https://codeload.github.com/emanuelefavero/node-basics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207509,"owners_count":20740723,"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":["api","http","middleware","node","nodejs"],"created_at":"2024-12-10T00:13:25.060Z","updated_at":"2025-03-29T16:13:09.269Z","avatar_url":"https://github.com/emanuelefavero.png","language":"JavaScript","readme":"# Node.js Basics\n\nThis is a simple Node.js project that demonstrates the basic features of Node.js.\n\n\u003e Note: I tried to only use built in Node.js modules when possible to only showcase Node.js features (e.g. avoiding `express`)\n\n## How to run the project\n\n1. Clone the project and `cd` into the project directory\n2. Run `npm install`\n\n- To run the `router` example, run `npm run router`\n- To run the `api` example, run `npm run api`\n\n\u003e Note: You can also add an environment variable `PORT` to specify the port number. The default port is `4000`.\n\n## Test the project\n\n### Router\n\n- Open a browser and navigate to `http://localhost:4000/`\n\n### API\n\n- Open a browser and navigate to `http://localhost:4000/api/users` or `http://localhost:4000/api/users/1` and so on\n\n\u003e You could also test the API using `curl`, `Postman` or the `*.http` files in the root directory\n\u003e\n\u003e Note: To run the `*.http` files, you need to install the [Rest Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) extension in VS Code\n\n### FS\n\n- Run `npm run fs` to test the `fs` module\n\n### Path\n\n- Run `npm run path` to test the `path` module\n\n### OS\n\n- Run `npm run os` to test the `os` module\n\n### URL\n\n- Run `npm run url` to test the `url` module\n\n### Crypto\n\n- Run `npm run crypto` to test the `crypto` module\n\n### Events\n\n- Run `npm run events` to test the `events` module\n\n### Process\n\n- Run `npm run process` to test the `process` object\n\n## Resources\n\n- [Node.js](https://nodejs.org/)\n- [Node.js Docs](https://nodejs.org/en/docs/)\n\n## License\n\n- [MIT](LICENSE.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnode-basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelefavero%2Fnode-basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnode-basics/lists"}