{"id":26538544,"url":"https://github.com/pr4j3sh/auth","last_synced_at":"2026-04-07T20:32:50.003Z","repository":{"id":257130215,"uuid":"857259936","full_name":"pr4j3sh/auth","owner":"pr4j3sh","description":"auth server","archived":false,"fork":false,"pushed_at":"2025-05-06T04:29:33.000Z","size":2717,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T01:59:33.686Z","etag":null,"topics":["authentication","express","microservice","railway","server"],"latest_commit_sha":null,"homepage":"https://pr4j3sh-auth.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pr4j3sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2024-09-14T07:12:56.000Z","updated_at":"2025-05-06T04:29:36.000Z","dependencies_parsed_at":"2024-10-14T06:42:47.699Z","dependency_job_id":"1f584e43-788c-4dbb-a53f-b3562cc0765d","html_url":"https://github.com/pr4j3sh/auth","commit_stats":null,"previous_names":["prajesheleven/eventsphere","pr4j3sh/eventsphere","pr4j3sh/auth"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/pr4j3sh/auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pr4j3sh","download_url":"https://codeload.github.com/pr4j3sh/auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["authentication","express","microservice","railway","server"],"created_at":"2025-03-21T23:14:52.657Z","updated_at":"2026-04-07T20:32:49.984Z","avatar_url":"https://github.com/pr4j3sh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pr4j3sh/auth\n\n`pr4j3sh/auth` is an authentication service that enables user registration, login. With our SDKs, developers can easily integrate authentication into their own applications.\n\n\u003e limited to `10 req/min/user`\n\n## Documentation\n\n[Website](https://pr4j3sh-auth.vercel.app/) | [Documentation](https://pr4j3sh.github.io/auth/)\n\n## Installation\n\n- Install [@pr4j3sh/auth](https://www.npmjs.com/package/@pr4j3sh/auth)\n\n```bash\nnpm i @pr4j3sh/auth\n```\n\n## Usage\n\n### SDK\n\n#### Client side\n\n- User Registration\n\n```js\nimport auth from \"@pr4j3sh/auth\";\n\nconst payload = {\n  username: \"johndoe\",\n  password: \"securepassword123\",\n};\n\nconst res = await auth.register(payload);\nconsole.log(res);\n```\n\n#### Server side\n\n```js\nconst { authHandler } = require(\"@pr4j3sh/auth\");\n\napp.get(\"/protected\", authHandler, (req, res) =\u003e {\n  res.json({ user: req.user });\n});\n```\n\n### Curl\n\n- User registration\n\n```bash\ncurl -X POST https://pr4j3sh-auth.up.railway.app/api/auth/register -H 'Content-Type: application/json' -d '{\"username\":\"john\", \"password\":\"123456\"}'\n```\n\n\u003e returns JWT token\n\n## References\n\n- [exhandlers Documentation](https://pr4j3sh.github.io/exhandlers/)\n- [ExpressJs Documentation](https://expressjs.com/en/starter/hello-world.html)\n- [Railway Documentation](https://docs.railway.com/guides/express)\n- [@pr4j3sh/frames](https://github.com/pr4j3sh/frames)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4j3sh%2Fauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpr4j3sh%2Fauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4j3sh%2Fauth/lists"}