{"id":22330307,"url":"https://github.com/breadscorner/passport.js-localstrategyuserdocumentation","last_synced_at":"2026-04-28T20:34:57.507Z","repository":{"id":183371060,"uuid":"619384768","full_name":"breadscorner/Passport.js-LocalStrategyUserDocumentation","owner":"breadscorner","description":"The goal of this documentation is to provide you with enough information to build your first Express application using passport.js for login authentication. Our focus is to get your application up and running with authentication. However, we do provide several links to brush up on some relevant topics. ","archived":false,"fork":false,"pushed_at":"2023-07-24T06:16:02.000Z","size":3182,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T06:45:36.088Z","etag":null,"topics":["ejs","ejs-templates","express","expressjs","passport","passport-local","passportjs"],"latest_commit_sha":null,"homepage":"https://breadscorner.github.io/Passport.js-LocalStrategyUserDocumentation/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/breadscorner.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}},"created_at":"2023-03-27T03:10:25.000Z","updated_at":"2024-10-31T10:24:00.000Z","dependencies_parsed_at":"2023-07-24T07:40:39.693Z","dependency_job_id":null,"html_url":"https://github.com/breadscorner/Passport.js-LocalStrategyUserDocumentation","commit_stats":null,"previous_names":["breadscorner/passport.js-localstrategyuserdocumentation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/breadscorner/Passport.js-LocalStrategyUserDocumentation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breadscorner%2FPassport.js-LocalStrategyUserDocumentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breadscorner%2FPassport.js-LocalStrategyUserDocumentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breadscorner%2FPassport.js-LocalStrategyUserDocumentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breadscorner%2FPassport.js-LocalStrategyUserDocumentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/breadscorner","download_url":"https://codeload.github.com/breadscorner/Passport.js-LocalStrategyUserDocumentation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breadscorner%2FPassport.js-LocalStrategyUserDocumentation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32398900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ejs","ejs-templates","express","expressjs","passport","passport-local","passportjs"],"created_at":"2024-12-04T04:06:37.087Z","updated_at":"2026-04-28T20:34:57.482Z","avatar_url":"https://github.com/breadscorner.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Choosing Passport.js\n\nWe learned passport.js in term two of our Full Stack Web Development Diploma but found it difficult because there is so little information on how to implement it into an express program.\n\nDue to the limited user documentation on passport.js we decided it was important to create a beginner friendly version.\n\nDue to the vast amount of strategies, such as login with Google, FB, etc. we decided to start with a local strategy, meaning simply logging in with a username and password.\n\n## Overview of Passport.js User Documentation\n\nWelcome! We have created documentation to guide you through setting up a local strategy for passport.js authentication.\n\nThe goal of this documentation is to provide you with enough information to build your first Express application using passport.js for login authentication. Our focus is to get your application up and running with authentication. However, we do provide several links to brush up on some relevant topics. We have also included several areas for advanced users to add features to their application.\n\nTopics that will be covered include:\n\n- Introduction to Passport.js\n- Preliminary Setup \u0026 Installation\n- Strategies \u0026 Implementing A Database\n- Route Handling \u0026 Passport.js Implementation\n- Troubleshooting\n- Important Terminology\n\n## How We Collaborated Together\n\nThis user guide assignment occurred while our classes were completely held online. Our main form of communication was over Discord instant messaging after we brainstormed our guide idea and instruction outline over Zoom.\n\nTo complete this documentation we worked diligently in the class time we were provided.\n\nWe used GitHub to collaborate when we were not in class. Brett operated on the master branch whilst Gary used a separate branch Once we communicated with each other we would merge Gary to the master branch. Additionally, we met up at campus to work more on this project together.\n\n## How We Created Our Guide\n\nWe structured our documentation first and then did our research on the topic of passport.js. We took notes from the limited documentation and our class videos to create our own version of a passport local strategy and then transformed it into this documentation.\n\nOnce we had added all the information into the document we did a read through for two reasons.\n\n1.To find words we believed to be important and add them to the glossary.\n\n2.To run through the steps and make sure we did not miss any. This lead us to realize we need to really structure our time.\n\nAs we added instructions, our glossary grew. We linked these terms throughout our document to the terms in the glossary.\n\nWe proceeded to start styling our user documentation and added admonitions to organize separate topics like what an advanced user may do, or what the completed code should look like.\n\nOne important step in our editing portion of creating this documentation was peer reviewing, or user testing. We had our user documentation tested by several classmates at different junctions in the creation. This allowed us to gain an outside perspective as to what users needed to succeed.\n\n## Choosing MkDocs\n\nWe used the mkdocs material theme because we liked the look. [Material for MkDocs](https://github.com/squidfunk/mkdocs-material) theme provided us a good foundation for our user documentation but we did make several changes to help with contrast and overall design. We used several plugins for admonitions, block quotes, and a customized logo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreadscorner%2Fpassport.js-localstrategyuserdocumentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreadscorner%2Fpassport.js-localstrategyuserdocumentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreadscorner%2Fpassport.js-localstrategyuserdocumentation/lists"}