{"id":17668610,"url":"https://github.com/evanshortiss/nodejs-basic-auth-example","last_synced_at":"2026-04-17T06:32:24.402Z","repository":{"id":66153895,"uuid":"288979745","full_name":"evanshortiss/nodejs-basic-auth-example","owner":"evanshortiss","description":"A sample application that uses basic access authentication, and performs server-side rendering","archived":false,"fork":false,"pushed_at":"2020-08-20T10:58:43.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T16:04:56.375Z","etag":null,"topics":["basic-authentication","example","example-app","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evanshortiss.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":"2020-08-20T10:46:33.000Z","updated_at":"2020-08-20T11:03:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"90e538cd-b888-4314-bd41-f0ce50b414db","html_url":"https://github.com/evanshortiss/nodejs-basic-auth-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evanshortiss/nodejs-basic-auth-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnodejs-basic-auth-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnodejs-basic-auth-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnodejs-basic-auth-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnodejs-basic-auth-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evanshortiss","download_url":"https://codeload.github.com/evanshortiss/nodejs-basic-auth-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnodejs-basic-auth-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["basic-authentication","example","example-app","node","nodejs"],"created_at":"2024-10-23T23:23:13.676Z","updated_at":"2026-04-17T06:32:24.370Z","avatar_url":"https://github.com/evanshortiss.png","language":"JavaScript","readme":"# Basic App\n\n## Node.js Setup\n\nInstall Node.js. Using [nvm](https://github.com/nvm-sh/nvm) is a good approach\nsince it simplifies switching Node.js versions.\n\n``` bash\n# install nvm\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash\n\n# update your ~/.bashrc or ~/.bash_profile based on the nvm output\nvi ~/.bash_profile\n\n# install and enable node.js 12\nnvm install 12\nnvm use 12\n```\n\n## Run the Application\n\n### In Development Mode\n\nThis starts the server in dev mode using `nodemon`. This enables live reload\nfor changes so you don't need to restart the server each time you make a\nchange.\n\n```bash\nnpm install\nnpm run dev\n```\n\n### Production Mode\n\n```bash\nnpm start\n```\n\n## Authentication\n\nThis application uses Basic Authentication. It will prompt for a username and\npassword to login.\n\nUse a username and password from the `users.js` file in this repository, e.g\n`jane` and `janepass`.\n\n![Login Prompt](screenshots/login.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanshortiss%2Fnodejs-basic-auth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevanshortiss%2Fnodejs-basic-auth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanshortiss%2Fnodejs-basic-auth-example/lists"}