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

feat: Create read job post #148

Closed
wants to merge 9 commits into from

Conversation

uloamaka
Copy link
Contributor

​The Create and Read functionalities for a job post were implemented, The Create has an endpoint 'CreateJobPost', The Read has two endpoint 'FetchAllJobPost' and 'FetchJobPostByID'.

Description

Implemented the Create functionality and also the Read functionalities for the job post/listing feature, these endpoint followed the requirement of the code base such that the router -> controller -> service -> model -> repository ... and hence no direct interaction with db from controllers or service file, the controller only handles validation, calling of service and logging appropriate messages.

Related Issue (Link to Github issue)

54
53
52

How Has This Been Tested?

The test case covers create a new job post, and fetching the created job post, and also all job post available in the DB.
​E2E Test case can be run by: go test -v .\tests\jobpost_test.go

Screenshots (if appropriate - Postman, etc):

CREATE ENPOINT:
Screenshot (282)
FETCH JOB POST BY ID:
Screenshot (283)
FETCH ALL JOB POST:
Uploading Screenshot (284).png…

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@uloamaka
Copy link
Contributor Author

@Cyberguru1 please help review

@uloamaka
Copy link
Contributor Author

@NwokoyeChigozie please help review.

@urizennnn urizennnn self-requested a review July 27, 2024 07:33
Copy link
Contributor

@urizennnn urizennnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change your branch name

@Cyberguru1 Cyberguru1 self-requested a review July 27, 2024 09:07
@uloamaka uloamaka closed this Jul 27, 2024
@uloamaka uloamaka deleted the create-read-job-post branch July 27, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants