{"id":20277287,"url":"https://github.com/devmunyi/auth-api","last_synced_at":"2026-04-29T21:37:05.854Z","repository":{"id":208052396,"uuid":"720720866","full_name":"devMunyi/auth-api","owner":"devMunyi","description":"Authentication REST API ","archived":false,"fork":false,"pushed_at":"2023-11-30T11:30:03.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-04T01:41:26.279Z","etag":null,"topics":["nodejs","rest-api","typegoose","typescript","zod"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/devMunyi.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-11-19T11:49:37.000Z","updated_at":"2023-11-19T12:00:43.000Z","dependencies_parsed_at":"2023-11-19T12:29:18.366Z","dependency_job_id":"d9dd5c31-0b53-4b0f-9f5a-5fd71db7e5ca","html_url":"https://github.com/devMunyi/auth-api","commit_stats":null,"previous_names":["devmunyi/auth-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devMunyi/auth-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devMunyi%2Fauth-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devMunyi%2Fauth-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devMunyi%2Fauth-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devMunyi%2Fauth-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devMunyi","download_url":"https://codeload.github.com/devMunyi/auth-api/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devMunyi%2Fauth-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["nodejs","rest-api","typegoose","typescript","zod"],"created_at":"2024-11-14T13:17:46.276Z","updated_at":"2026-04-29T21:37:05.823Z","avatar_url":"https://github.com/devMunyi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authentication REST API with Node.js, TypeScript, Typegoose \u0026 Zod\n\n## Features\n1. Register a user\n2. Verify user's email address\n3. Send forgot password email\n4. Reset password\n5. Get current user\n6. Login\n7. Access token\n8. Refresh tokens\n\n## Technology used\n- [TypeScript](https://www.typescriptlang.org/) - Static type checking \n- [Express@5](https://expressjs.com/en/5x/api.html) - Web server\n- [Typegoose](https://typegoose.github.io/typegoose/) - Mongoose wrapper for creating TypeScript interfaces and models\n- [argon2](https://github.com/ranisalt/node-argon2#readme) - Password hashing\n- [Zod](https://github.com/colinhacks/zod) - Validation\n- [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) - Signing and verifying JSON web tokens\n- [Nodemailer](https://nodemailer.com/about/) - Sending emails\n- [Pino](https://github.com/pinojs/pino) - Logging\n- [config](https://github.com/lorenwest/node-config) - Managing configuration\n\n\n## Prerequesites\n- [Postman](https://www.postman.com/downloads/)\n- [Node.js](https://nodejs.org/en/)\n- [MongoDB](https://www.mongodb.com/try/download/community)\n\n\u003c!-- ## Key features structure --\u003e\n\u003c!-- 1. Demo\n2. Code walk-through\n3. Bootstrap application --\u003e\n\u003c!-- 1. User API\n    1. Create user\n    2. Verify user\n    3. Request reset password code\n    4. Reset password\n    5. Get current user\n2. Authentication API\n    1. Create user session\n    2. Get new access token with refresh tokens --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmunyi%2Fauth-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevmunyi%2Fauth-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmunyi%2Fauth-api/lists"}