{"id":26199539,"url":"https://github.com/mrirakib04/server-3","last_synced_at":"2026-04-11T03:32:28.197Z","repository":{"id":280488818,"uuid":"941510045","full_name":"mrirakib04/server-3","owner":"mrirakib04","description":"server-3 For web-practice-9","archived":false,"fork":false,"pushed_at":"2025-06-29T19:14:52.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T00:45:11.812Z","etag":null,"topics":["cors","express","jsonwebtoken","mongodb","node"],"latest_commit_sha":null,"homepage":"","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/mrirakib04.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-03-02T13:20:14.000Z","updated_at":"2025-06-29T19:14:55.000Z","dependencies_parsed_at":"2025-03-03T18:34:53.565Z","dependency_job_id":"35cccba0-2c20-4282-915e-46003503e19c","html_url":"https://github.com/mrirakib04/server-3","commit_stats":null,"previous_names":["mrirakib04/server-3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrirakib04/server-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrirakib04%2Fserver-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrirakib04%2Fserver-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrirakib04%2Fserver-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrirakib04%2Fserver-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrirakib04","download_url":"https://codeload.github.com/mrirakib04/server-3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrirakib04%2Fserver-3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["cors","express","jsonwebtoken","mongodb","node"],"created_at":"2025-03-12T02:59:03.205Z","updated_at":"2026-04-11T03:32:28.174Z","avatar_url":"https://github.com/mrirakib04.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Server-3\n\n# For: web-practice-9 - HR3 Management\n\n## Links:\n\n- **Web:** [https://mrirakib-web-practice-9.netlify.app/](https://mrirakib-web-practice-9.netlify.app/)\n- **Repo:** [https://github.com/mrirakib04/web-practice-9/](https://github.com/mrirakib04/web-practice-9/)\n\n## Features\n\n- **Users:**\n\n  - Fetch all users.\n  - Fetch a specific user by email.\n  - Add a new user.\n\n- **HR Management:**\n\n  - Fetch all HRs.\n  - Fetch an HR by email.\n  - Add a new HR.\n  - Update an HR's payment status or limit.\n\n- **Employee Management:**\n\n  - Fetch all unemployed employees.\n  - Add a new unemployed employee.\n  - Remove an unemployed employee by email.\n\n- **Team Management:**\n\n  - Fetch all team members associated with an HR by email.\n  - Add an employee to a team.\n  - Remove an employee from a team by email.\n\n- **Asset Management:**\n\n  - Fetch all assets owned by a user.\n  - Fetch asset details by ID.\n  - Add a new asset.\n  - Update asset quantity.\n  - Delete an asset by ID.\n\n- **Requests Management:**\n\n  - Fetch all asset requests made by a user.\n  - Add a new asset request.\n  - Approve a pending asset request.\n  - Delete a pending asset request.\n\n- **Pending Requests:**\n\n  - Fetch all pending requests associated with a user.\n  - Fetch pending requests for a specific HR.\n  - Add a new pending request.\n  - Delete a pending request by ID.\n\n- **Payment Management:**\n  - Record a payment made to an HR.\n\n## Technologies Used\n\n- **Express.js**: Web framework for Node.js to handle HTTP requests.\n- **MongoDB**: NoSQL database for managing user, employee, asset, and request data.\n- **CORS**: Middleware to handle cross-origin requests.\n- **dotenv**: For managing environment variables like MongoDB credentials and JWT secret.\n- **JWT (JSON Web Token)**: For secure user authentication and authorization.\n- **MongoDB Client**: For interacting with the MongoDB database.\n\n## Conclusion\n\nThank you for checking out my repository. If you have any feedback or suggestions, feel free to reach out!\n\n---\n\nDeveloped by **Md Rakibul Islam Rakib**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrirakib04%2Fserver-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrirakib04%2Fserver-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrirakib04%2Fserver-3/lists"}