{"id":19961885,"url":"https://github.com/chuksjoshuaa/node-jobs-api","last_synced_at":"2026-04-02T02:51:04.207Z","repository":{"id":108267729,"uuid":"479413241","full_name":"ChuksJoshuaa/Node-Jobs-Api","owner":"ChuksJoshuaa","description":"Jobs api built with Node Js, Mongodb, Express Js. It makes it easier for users to post different jobs application, users can update, delete each application.","archived":false,"fork":false,"pushed_at":"2023-06-09T00:16:12.000Z","size":94,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T21:39:27.381Z","etag":null,"topics":["error-handler","expressjs","http-status-codes","middlewares","mongodb","mongoose","nodejs","swagger-ui"],"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/ChuksJoshuaa.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":"2022-04-08T14:02:31.000Z","updated_at":"2023-02-09T02:23:24.000Z","dependencies_parsed_at":"2025-01-12T07:45:36.569Z","dependency_job_id":"eb490373-836f-4576-9162-d1475dcbe3d6","html_url":"https://github.com/ChuksJoshuaa/Node-Jobs-Api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChuksJoshuaa/Node-Jobs-Api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FNode-Jobs-Api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FNode-Jobs-Api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FNode-Jobs-Api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FNode-Jobs-Api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChuksJoshuaa","download_url":"https://codeload.github.com/ChuksJoshuaa/Node-Jobs-Api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FNode-Jobs-Api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000707,"owners_count":26082837,"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-08T02:00:06.501Z","response_time":56,"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":["error-handler","expressjs","http-status-codes","middlewares","mongodb","mongoose","nodejs","swagger-ui"],"created_at":"2024-11-13T02:08:48.832Z","updated_at":"2025-10-08T21:39:30.760Z","avatar_url":"https://github.com/ChuksJoshuaa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Setup\n\n```bash\nnpm install \u0026\u0026 npm start\n```\n\n#### Database Connection\n\n1. Import connect.js..\n2. Invoke in start()....\n3. Setup .env in the root...\n4. Add MONGO_URI with correct value...\n\n#### Routers\n\n- auth.js\n- jobs.js\n\n#### User Model\n\nEmail Validation Regex\n\n```regex\n/^(([^\u003c\u003e()[\\]\\\\.,;:\\s@\"]+(\\.[^\u003c\u003e()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n```\n\n#### Register User\n\n- Validate - name, email, password - with Mongoose...\n- Hash Password (with bcryptjs)...\n- Save User...\n- Generate Token....\n- Send Response with Token....\n\n#### Login User\n\n- Validate - email, password - in controller...\n- If email or password is missing, throw BadRequestError...\n- Find User\n- Compare Passwords\n- If no user or password does not match, throw UnauthenticatedError\n- If correct, generate Token\n- Send Response with Token\n\n#### Mongoose Errors\n\n- Validation Errors..\n- Duplicate (Email)..\n- Cast Error...\n\n#### Security\n\n- helmet..\n- cors...\n- xss-clean...\n- express-rate-limit...\n\nSwagger UI\n\n```yaml\n/jobs/{id}:\n  parameters:\n    - in: path\n      name: id\n      schema:\n        type: string\n      required: true\n      description: the job id\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuksjoshuaa%2Fnode-jobs-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchuksjoshuaa%2Fnode-jobs-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuksjoshuaa%2Fnode-jobs-api/lists"}