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: Admin dashboard cards #402

Merged
merged 10 commits into from
Aug 8, 2024
Merged

feat: Admin dashboard cards #402

merged 10 commits into from
Aug 8, 2024

Conversation

timiajayi
Copy link
Contributor

@timiajayi timiajayi commented Aug 7, 2024

Description

Implement an endpoint that fetches the following
Total revenue
total users
total product
lifetime_sales

Related Issue (Link to Github issue)

684>

Motivation and Context

create endpoints that delivery value for Total revenue, total users, total product, lifetime_sales, to the admin dahsboard

How Has This Been Tested?

was tested with postman and unit test

Screenshots (if appropriate - Postman, etc):

Screenshot (134)

[Get] /api/v1/statistics

Screenshot (135)

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.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Signed-off-by: Timiajayi <[email protected]>
Signed-off-by: Timiajayi <[email protected]>
Signed-off-by: Timiajayi <[email protected]>
Signed-off-by: Timiajayi <[email protected]>
@timiajayi timiajayi requested a review from Dev-Tonia August 8, 2024 08:45
Copy link
Contributor Author

@timiajayi timiajayi left a comment

Choose a reason for hiding this comment

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

Merge conflict fixed

@Dev-Tonia Dev-Tonia merged commit 4d52839 into hngprojects:dev Aug 8, 2024
1 check passed
@timiajayi timiajayi self-assigned this Aug 18, 2024
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