{"id":18961506,"url":"https://github.com/ganeshh123/simple-express-authentication","last_synced_at":"2025-10-11T23:32:28.505Z","repository":{"id":100934431,"uuid":"323891295","full_name":"ganeshh123/simple-express-authentication","owner":"ganeshh123","description":"Dead simple manual authentication for Express Apps - No Passport!","archived":false,"fork":false,"pushed_at":"2021-07-29T21:18:51.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T23:32:18.890Z","etag":null,"topics":["account","authentication","cookie","custom","express","hash","login","manual","password","registration","simple","user"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ganeshh123.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}},"created_at":"2020-12-23T12:03:34.000Z","updated_at":"2021-07-29T21:18:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe5114e2-14ab-413f-9424-ce5c3dffaa4c","html_url":"https://github.com/ganeshh123/simple-express-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ganeshh123/simple-express-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganeshh123%2Fsimple-express-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganeshh123%2Fsimple-express-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganeshh123%2Fsimple-express-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganeshh123%2Fsimple-express-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ganeshh123","download_url":"https://codeload.github.com/ganeshh123/simple-express-authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganeshh123%2Fsimple-express-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009394,"owners_count":26084580,"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-10-11T02:00:06.511Z","response_time":55,"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":["account","authentication","cookie","custom","express","hash","login","manual","password","registration","simple","user"],"created_at":"2024-11-08T14:13:10.487Z","updated_at":"2025-10-11T23:32:28.489Z","avatar_url":"https://github.com/ganeshh123.png","language":"JavaScript","readme":"# Simple Express Authentication\nDead simple manual authentication for Express Apps - No Passport Required!\n\n## Requirements\n\n### Dependencies\n\n- Express\n- Bcrypt\n- Body-Parser\n- Cookie-Parser\n\n### Database Requirements\n\n- User Documents must have an array to store tokens (strings)\n- User Documents must have a unique ID\n- User Documents must have a unique field (currently username, maybe swap for email)\n\n## Setup\n\n1. Clone/Download the repository and import `auth.js` and optionally `login.html` and `register.html` to your project\n2. Import the `authenticate` function and the `authenticationRoutes` function, and run `authenticationroutes` and give it your express app:\n\n    ```bash\n    let authenticationRoutes = require('./auth').authenticationRoutes\n    let authenticate = require('./auth').authenticate\n\n    authenticationRoutes(app)\n    ```\n\n3. Tweak `auth.js` as desired, and add in the Database Logic\n\n## Features\n\n### Included\n\n- Password Hashing with Bcrypt\n\n### Not Yet Implemented\n\n- Messages to display error messages to users\n- Editing Registration Data from Client Side","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshh123%2Fsimple-express-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganeshh123%2Fsimple-express-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshh123%2Fsimple-express-authentication/lists"}