{"id":20229080,"url":"https://github.com/udokailodigwe/job-tracking-fullstack-app","last_synced_at":"2026-05-04T13:34:50.138Z","repository":{"id":258827832,"uuid":"875206610","full_name":"Udokailodigwe/Job-Tracking-fullstack-App","owner":"Udokailodigwe","description":"A clean and well structured API built with Nodejs/Express, MongoDB ","archived":false,"fork":false,"pushed_at":"2025-03-07T01:08:25.000Z","size":4707,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T07:00:03.817Z","etag":null,"topics":["express-middleware","jwt-authentication","middleware","mongodb","mongoose","nodejs","rest-api","swagger-ui"],"latest_commit_sha":null,"homepage":"https://jobs-api-mbpy.onrender.com","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/Udokailodigwe.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-19T11:24:31.000Z","updated_at":"2025-03-07T01:08:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"60ab9ac2-1a29-4363-bd01-2b8fb34a45e5","html_url":"https://github.com/Udokailodigwe/Job-Tracking-fullstack-App","commit_stats":null,"previous_names":["udokailodigwe/jobs-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Udokailodigwe/Job-Tracking-fullstack-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udokailodigwe%2FJob-Tracking-fullstack-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udokailodigwe%2FJob-Tracking-fullstack-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udokailodigwe%2FJob-Tracking-fullstack-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udokailodigwe%2FJob-Tracking-fullstack-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Udokailodigwe","download_url":"https://codeload.github.com/Udokailodigwe/Job-Tracking-fullstack-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udokailodigwe%2FJob-Tracking-fullstack-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32609881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: 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":["express-middleware","jwt-authentication","middleware","mongodb","mongoose","nodejs","rest-api","swagger-ui"],"created_at":"2024-11-14T07:34:11.312Z","updated_at":"2026-05-04T13:34:50.108Z","avatar_url":"https://github.com/Udokailodigwe.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%2Fudokailodigwe%2Fjob-tracking-fullstack-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudokailodigwe%2Fjob-tracking-fullstack-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudokailodigwe%2Fjob-tracking-fullstack-app/lists"}