{"id":28974863,"url":"https://github.com/plcoster/fcc_backend_project2","last_synced_at":"2026-04-19T05:34:15.560Z","repository":{"id":299016087,"uuid":"528555116","full_name":"PLCoster/fcc_backend_project2","owner":"PLCoster","description":"FreeCodeCamp Backend Project 2: Request Header Parser Microservice","archived":false,"fork":false,"pushed_at":"2022-08-24T19:14:02.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T06:32:57.704Z","etag":null,"topics":["express"],"latest_commit_sha":null,"homepage":"https://fcc-backend-project2.plcoster.repl.co/","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/PLCoster.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,"zenodo":null}},"created_at":"2022-08-24T18:52:42.000Z","updated_at":"2022-08-24T19:01:47.000Z","dependencies_parsed_at":"2025-06-14T06:33:00.895Z","dependency_job_id":"31ef230d-6c97-4f9a-b0cb-6b14aa41f793","html_url":"https://github.com/PLCoster/fcc_backend_project2","commit_stats":null,"previous_names":["plcoster/fcc_backend_project2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PLCoster/fcc_backend_project2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLCoster%2Ffcc_backend_project2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLCoster%2Ffcc_backend_project2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLCoster%2Ffcc_backend_project2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLCoster%2Ffcc_backend_project2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PLCoster","download_url":"https://codeload.github.com/PLCoster/fcc_backend_project2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLCoster%2Ffcc_backend_project2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261669008,"owners_count":23192362,"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":["express"],"created_at":"2025-06-24T12:07:11.275Z","updated_at":"2025-10-09T01:10:50.347Z","avatar_url":"https://github.com/PLCoster.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Free Code Camp: Backend Project 2 - Request Header Parser Microservice\n\n## Request Header Parser Microservice\n\nThe aim of this project was to build a small web app with functionality similar to: https://request-header-parser-microservice.freecodecamp.rocks/\n\nThe project was built using the following technologies:\n\n- **HTML**\n- **JavaScript** with **[Node.js](https://nodejs.org/en/) / [NPM](https://www.npmjs.com/)** for package management\n- **[Express](https://expressjs.com/)** web framework to build the web API.\n- **[Bootstrap](https://getbootstrap.com/)** for styling with some custom **CSS**\n- **[FontAwesome](https://fontawesome.com/)** for icons\n- **[nodemon](https://nodemon.io/)** for automatic restarting of server during development.\n\n### Project Requirements:\n\n- **User Story #1:** A request to `/api/whoami` should return a JSON object with your IP address in the `ipaddress` key.\n\n- **User Story #2:** A request to `/api/whoami`should return a JSON object with your preferred `language` in the language key.\n\n- **User Story #3:** A request to `/api/whoami` should return a JSON object with your software in the `software` key.\n\n### Project Writeup:\n\nThe second Free Code Camp: Back End Development Project is a request header parser API. Users can receive information about their request headers by:\n\n- Sending a `GET` request to `/api/whoami` returns the ip address, language and software used to make the request, in JSON format.\n\n### Project Files:\n\n- `index.js` - the main entry point of the application, an express web server handling the routes defined in the specification.\n\n- `public/` - contains static files for the web app (stylesheet, logo, favicons etc), served by express using `express.static()`.\n\n- `views/` - contains the single html page for the web app, `index.html`, which is served by express on `GET` requests to `/`.\n\n### Usage:\n\nRequires Node.js / NPM in order to install required packages. After downloading the repo, install required dependencies with:\n\n`npm install`\n\nA development mode (with auto server restart on file save), can be started with:\n\n`npm run dev`\n\nThe application can then be viewed at `http://localhost:3000/` in the browser.\n\nTo start the server without auto-restart on file save:\n\n`npm start`\n\n# Request Header Parser Microservice BoilerPlate\n\nThe initial boilerplate for this app can be found at https://github.com/freeCodeCamp/boilerplate-project-headerparser/\n\nInstructions for building the project can be found at https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/request-header-parser-microservice\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplcoster%2Ffcc_backend_project2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplcoster%2Ffcc_backend_project2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplcoster%2Ffcc_backend_project2/lists"}