Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job Application Show Page BE #33

Closed
4 tasks
kylomite opened this issue Dec 7, 2024 · 0 comments · Fixed by #35
Closed
4 tasks

Job Application Show Page BE #33

kylomite opened this issue Dec 7, 2024 · 0 comments · Fixed by #35
Assignees

Comments

@kylomite
Copy link
Collaborator

kylomite commented Dec 7, 2024

A logged in user should be able to see the saved details of their individual job applications.

Acceptance Criteria:

  • Utilize SAD pathing to handle when company_id does not exist on user

  • Return 200 status code with correct response

  • Return 400 status code with error messages if validations are not met

  • Return 400 level status code with error message for SAD path

Dependencies: User exists in Database, Company exists in Database, Job Application exists in DB, Job Application tied to User and Company
Blockers: Require Schema definition for table relationships

Additional Information:
Request:

PUTS /api/v1/users/user.id/job_applications/job_application.id

Example Response body:

{:data=>
  {:id=>"6",
   :type=>"job_application",
   :attributes=>
    {:position_title=>"Jr. CTO",
     :date_applied=>"2024-10-31",
     :status=>1,
     :notes=>"Fingers crossed!",
     :job_description=>"Looking for Turing grad/jr dev to be CTO",
     :application_url=>"www.example.com",
     :contact_information=>"[email protected]",
     :company_id=>6
}}}
@kylomite kylomite moved this to Todo in Tracker CRM Dec 7, 2024
@kylomite kylomite self-assigned this Dec 7, 2024
@kylomite kylomite moved this from Todo to In Progress in Tracker CRM Dec 9, 2024
@kylomite kylomite mentioned this issue Dec 9, 2024
8 tasks
@kylomite kylomite moved this from In Progress to Ready for Review in Tracker CRM Dec 9, 2024
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in Tracker CRM Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant