{"id":22778947,"url":"https://github.com/raulespim/auth-security-sample","last_synced_at":"2026-04-11T01:02:09.052Z","repository":{"id":212124219,"uuid":"730533988","full_name":"raulespim/auth-security-sample","owner":"raulespim","description":"A sample app to learn the different levels of authentication \u0026 security","archived":false,"fork":false,"pushed_at":"2023-12-13T18:27:31.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T14:13:30.462Z","etag":null,"topics":["auth","authentication","ejs","express-js","google-sign-in","mongodb","mongoose","node-js","oauth2","passport-js","security"],"latest_commit_sha":null,"homepage":"","language":"EJS","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/raulespim.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":"2023-12-12T06:11:03.000Z","updated_at":"2023-12-13T16:39:28.000Z","dependencies_parsed_at":"2024-10-18T05:17:42.757Z","dependency_job_id":null,"html_url":"https://github.com/raulespim/auth-security-sample","commit_stats":null,"previous_names":["raedevbr/auth-security-sample","raulespim/auth-security-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raulespim/auth-security-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulespim%2Fauth-security-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulespim%2Fauth-security-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulespim%2Fauth-security-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulespim%2Fauth-security-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raulespim","download_url":"https://codeload.github.com/raulespim/auth-security-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulespim%2Fauth-security-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272847031,"owners_count":25003116,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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":["auth","authentication","ejs","express-js","google-sign-in","mongodb","mongoose","node-js","oauth2","passport-js","security"],"created_at":"2024-12-11T20:07:21.848Z","updated_at":"2026-04-11T01:02:08.972Z","avatar_url":"https://github.com/raulespim.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secrets App - Auth Security Sample\n\nAn app for learning purposes.\u003cbr\u003eAlong the commits, you'll find these different levels of authentication \u0026 security codes:\n\n* Level 1: Username and password only\n* Level 2: Encryption\n* Level 3: Hashing passwords\n* Level 4: Salting and hashing passwords with bcrypt\n* Level 5: Using passport.js to add cookies and sessions\n* Level 6: OAuth 2.0 \u0026 implement sign in with google\n\n![preview home](./public/image/preview-secrets-home.png)\n![preview login](./public/image/preview-secrets-login.png)\n![preview secrets](./public/image/preview-secrets-secrets.png)\n\n**How to use:** \n1. Make a clone for your local repository\n2. Inside project root folder path, type this in terminal: 'node app.js' or 'nodemon app.js' (the server will start on PORT 3000)\n    * If you need to install nodemon, [click here](https://www.npmjs.com/package/nodemon) and follow the steps\n3. Open any browser and type 'localhost:3000'\n4. Type 'Ctrl + C' in terminal to stop the server.\n\n*Hope you enjoy it* 🙃  \n*Feel free to open an issue or PR and contribute with the project* ❤️ \n\n**External dependencies used in this project:**\n    - \"body-parser\": \"^1.20.2\",\n    - \"dotenv\": \"^16.3.1\",\n    - \"ejs\": \"^3.1.9\",\n    - \"express\": \"^4.18.2\",\n    - \"express-session\": \"^1.17.3\",\n    - \"mongoose\": \"^8.0.3\",\n    - \"mongoose-findorcreate\": \"^4.0.0\",\n    - \"passport\": \"^0.7.0\",\n    - \"passport-google-oauth20\": \"^2.0.0\",\n    - \"passport-local\": \"^1.0.0\",\n    - \"passport-local-mongoose\": \"^8.0.0\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraulespim%2Fauth-security-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraulespim%2Fauth-security-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraulespim%2Fauth-security-sample/lists"}