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(employees): get employee list #69

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Mcdavid95
Copy link
Collaborator

What this PR do?

  • Gets employee list for admin and manager

Description

  • create controller to get employees

  • only accessible by manager and super admin

How can this be manually tested?

  • Clone the repo
  • Run npm install
  • Create database using createdb {database_name}
  • create .env file and add database url under the key DATABASE_URL_TEST
  • run npm run seed
  • Using postman or any http request tool, make a get request to /api/v1/employees
  • Navigate to /api/v1/docs to test further with swagger ui

Relevant Pivotal tracker stories

@tejiri4 tejiri4 temporarily deployed to storm-backend-pr-69 September 14, 2019 21:51 Inactive
@codeclimate
Copy link

codeclimate bot commented Sep 14, 2019

Code Climate has analyzed commit 2ace848 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 3

The test coverage on the diff in this pull request is 90.4% (90% is the threshold).

This pull request will bring the total coverage in the repository to 95.7% (0.0% change).

View more on Code Climate.

@Mcdavid95 Mcdavid95 self-assigned this Sep 14, 2019
@Mcdavid95 Mcdavid95 temporarily deployed to storm-backend-pr-69 September 14, 2019 22:03 Inactive
@Mcdavid95 Mcdavid95 temporarily deployed to storm-backend-pr-69 September 16, 2019 09:04 Inactive
@tejiri4
Copy link
Contributor

tejiri4 commented Sep 16, 2019

what is the status of this PR?

@Mcdavid95 Mcdavid95 temporarily deployed to storm-backend-pr-69 September 16, 2019 17:22 Inactive
@Mcdavid95 Mcdavid95 temporarily deployed to storm-backend-pr-69 September 16, 2019 17:50 Inactive
@Mcdavid95 Mcdavid95 temporarily deployed to storm-backend-pr-69 September 16, 2019 18:00 Inactive
- create controller to get employees

- only accessible by manager and super admin

[Finishes (#168427812)]
@Mcdavid95
Copy link
Collaborator Author

what is the status of this PR?

Sorry had some issues with power and the coverage too
But I'm done now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants