TeamShiksha / logoexecutive

Logo Executive is your partner in logo exploration. Our platform boasts a collection of APIs designed to simplify the process of obtaining company logos.
https://logoexecutive.vercel.app/
22 stars 14 forks source link

Made `usageCount` functional #350

Closed amankumarsingh77 closed 1 month ago

amankumarsingh77 commented 1 month ago

Summary

Made usageCount functional with changes in Keys and Subscriptions modals.

Description

closes #348 1) Moved usageCount from Keys modal to Subscriptions modal to reduce the number of database queries. 3) Made usageCount functional and update the data on user dashboard.

Context (Optional)

1) Added fetchUserByApiKeyfunction to get the users based on their API keys. 2) Added isApiUsageLimitExceed function to check if the user is allowed to use the API or is required to upgrade their plan.

Screenshots or Recordings (Optional)

image image image

Checklist