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/
24 stars 20 forks source link

Implements One-time API Key View/Copy #347

Closed Sharathxct closed 2 months ago

Sharathxct commented 2 months ago

Summary

This PR adds more abstraction to API Key where users can retrieve or access their API Key only once which is at generation. as mentioned in #343 .

Description

Changed UI components/Dashboard: -ApiKey.js (New Component to show api key) -ApikeyTable.js (Removed API key column) -Dashboard.js Changed backend controllers: -fetchKeysByuserid (Modified to not respond with api keys )

How to Test the Changes

Login and generate a new API key

Screenshots or Recordings (Optional)

screenshot_000

https://github.com/user-attachments/assets/a3ca6a2f-e11e-4b84-8279-d06e7c26fbe9

Checklist

Sharathxct commented 2 months ago

Test coverage client: client1 client2

Test coverage server: server1 server2

amankumarsingh77 commented 2 months ago

@aps08 There seem to be some conflicts. Probably with the services/Keys.

aps08 commented 2 months ago

@Sharathxct resolve the conflict. It is a few minutes task and it's getting dragged for days. Not good.

Sharathxct commented 2 months ago

@aps08 Sorry conflicts resolved now