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

Implement Wallet Entity #5

Open
5 tasks
Josue19-08 opened this issue Feb 3, 2025 · 4 comments
Open
5 tasks

Implement Wallet Entity #5

Josue19-08 opened this issue Feb 3, 2025 · 4 comments

Comments

@Josue19-08
Copy link
Contributor

📌 Issue: Implement Wallet Entity

🔹 Description

Define and develop the Wallet entity to manage user balances and transactions.


📂 Project Structure

  • Entity: src/modules/users/entities/wallet.entity.ts
  • Repository: src/modules/users/repositories/wallet.repository.ts
  • Service: src/modules/users/services/wallet.service.ts
  • Controller: src/modules/users/controllers/wallet.controller.ts
  • DTOs: src/modules/users/dtos/wallet.dto.ts

🛠️ Wallet Entity Attributes

Attribute Data Type Description
id number Unique wallet identifier (Primary Key).
userId number ID of the user who owns the wallet.
balance number Current cryptocurrency balance.

📌 Tasks

  • Define Wallet entity.
  • Implement repository for wallets.
  • Develop wallet service for balance management.
  • Create controller for wallet-related endpoints.
  • Ensure data validation in DTOs.

✅ Acceptance Criteria

  • Users should have a wallet associated with their account.
  • Transactions should update wallet balances.
  • Secure endpoints for balance retrieval and management.
@Josue19-08 Josue19-08 self-assigned this Feb 3, 2025
@Josue19-08 Josue19-08 removed their assignment Feb 10, 2025
@Josue19-08 Josue19-08 added the OD label Feb 12, 2025
@ryzen-xp
Copy link
Contributor

Could I take a shot at this?

@josephchimebuka
Copy link

Can I attempt this issue? I will send a PR asap to solve this, the process is already explained carefully in the description. I will implement, the steps to ensure proper wallet management.

@jancris100
Copy link
Contributor

Hey! I'm Jan.
Member of Dojo Coding Costa Rica. I have contributed before to other projects like:

• Dojo
• Go Stark Me
• Fuego
Can I work on this issue?
Plan to Solve the Issue:
Study the codebase to understand the current structure and functionality.
Understand the problem that needs to be solved by thoroughly reading the issue details.
Leverage all provided resources within the issue to get a better grasp of the task at hand.
If I encounter roadblocks, I will ask questions ASAP in the Telegram group to move forward effectively.
I will open a PR and wait for ur feedback

Study the codebase to understand the current structure and functionality.
Understand the problem that needs to be solved by thoroughly reading the issue details.
Leverage all provided resources within the issue to get a better grasp of the task at hand.
If I encounter roadblocks, I will ask questions ASAP in the Telegram group to move forward effectively.
I will open a PR and wait for ur feedback

@Dario0731
Copy link
Contributor

Hi, my name is Dario Zamora. I´m a software developer part of Dojo coding. With a lot of frontend experience in different languages.

I am very interested in contributing to this project and would like to kindly request access to this item. I believe my skills can add value to the team, and I’m eager to start collaborating.

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

5 participants