{"id":30750612,"url":"https://github.com/pomidorka2010/user-auth-api","last_synced_at":"2026-04-13T12:01:49.662Z","repository":{"id":312193489,"uuid":"1046643544","full_name":"pomidorka2010/user-auth-api","owner":"pomidorka2010","description":"A simple user authentication API built with Node.js and Express that supports registration, login, and JWT token management.","archived":false,"fork":false,"pushed_at":"2025-08-29T02:22:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T06:41:44.463Z","etag":null,"topics":["api","authentication","express","jwt","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pomidorka2010.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,"zenodo":null}},"created_at":"2025-08-29T02:09:28.000Z","updated_at":"2025-08-29T02:22:51.000Z","dependencies_parsed_at":"2025-08-29T06:41:46.465Z","dependency_job_id":"54162715-4ed1-4198-9b29-fccc672e23bd","html_url":"https://github.com/pomidorka2010/user-auth-api","commit_stats":null,"previous_names":["pomidorka2010/user-auth-api"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pomidorka2010/user-auth-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomidorka2010%2Fuser-auth-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomidorka2010%2Fuser-auth-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomidorka2010%2Fuser-auth-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomidorka2010%2Fuser-auth-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pomidorka2010","download_url":"https://codeload.github.com/pomidorka2010/user-auth-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomidorka2010%2Fuser-auth-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"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":["api","authentication","express","jwt","nodejs"],"created_at":"2025-09-04T07:01:46.960Z","updated_at":"2026-04-13T12:01:49.631Z","avatar_url":"https://github.com/pomidorka2010.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Auth API\n\n## Description\nThis project is a small-scale user authentication API that allows users to register, log in, and manage JSON Web Tokens (JWT) for secure authentication. It is built using Node.js and Express, making it easy to integrate with various front-end applications.\n\n## Features\n- User registration with hashed passwords using bcrypt\n- User login with token generation using JWT\n- Middleware for protected routes\n- Basic in-memory data storage (can be easily replaced with a database)\n\n## Getting Started\n1. Clone the repository: `git clone https://github.com/yourusername/user-auth-api`\n2. Navigate to the directory: `cd user-auth-api`\n3. Install dependencies: `npm install`\n4. Start the server: `npm start`\n5. Use tools like Postman to test the API endpoints.\n\n## Endpoints\n- `POST /register`: Register a new user\n- `POST /login`: Login an existing user\n- `GET /protected`: Access protected route (requires token)\n\n## Technologies Used\n- Node.js\n- Express\n- JWT\n- bcrypt\n\n## Contributing\nFeel free to fork the repository and submit pull requests for improvements!\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomidorka2010%2Fuser-auth-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpomidorka2010%2Fuser-auth-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomidorka2010%2Fuser-auth-api/lists"}