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

PACKAGE: Add more auth endpoints across schema and api-client packages. #543

Open
rajdip-b opened this issue Nov 18, 2024 · 9 comments
Open

Comments

@rajdip-b
Copy link
Member

Description

We need to add these two endpoints to the schema and api-client packages:

Solution

  • Add the request and response schemas in the schema package
  • Add relevant tests in the schema package
  • Add the controller implementation in api-client package
  • No tests needed in the api-client package for these two requests
@Gabriel-Bueno32
Copy link

/attempt I'd like to work on this

Copy link

github-actions bot commented Dec 4, 2024

Assigned the issue to @Gabriel-Bueno32!

@rajdip-b
Copy link
Member Author

rajdip-b commented Dec 4, 2024

Sure!

@rajdip-b
Copy link
Member Author

rajdip-b commented Dec 9, 2024

@Gabriel-Bueno32 hey! any updates on this yet?

@Gabriel-Bueno32
Copy link

Yesterday I configured and ran the project, now I'm working on it. I just have one question, how do I run the tests to make sure everything is ok?

@rajdip-b
Copy link
Member Author

rajdip-b commented Dec 9, 2024

There are tests for each and every package. The scripts have the format pnpm test:<package>. You can look up the names in the top-level package.json file

@Gabriel-Bueno32
Copy link

Hey, i was thinking i had ran project correctly but in getting some of those errors Module '"@prisma/client", do i need to change this DATABASE_URL=postgresql://postgres:[email protected]:5432/keyshade_db in .env?

@rajdip-b
Copy link
Member Author

database url is fine. you would need to run pnpm db:generate-types to generate the prisma schema types.

@rajdip-b
Copy link
Member Author

P.S. I would suggest you to go through our docs: https://docs.keyshade.xyz

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

No branches or pull requests

2 participants