Skip to content

Conversation

@Olayiwolaaa
Copy link

Description

This PR implements the following updates to the Flite wallet app:

  1. New Endpoints:

    • Added functionality to handle additional wallet features as per the task requirements.
    • Implemented seven new endpoints.
  2. Integration Tests:

    • Wrote integration tests for the newly implemented endpoints, ensuring their functionality and accuracy.
    • Commented out some integrated tests applied in the app because they failed.
  3. Documentation Updates:

    • Updated the project documentation with instructions on setting up the project.
    • Added assumptions made while working on the project.

Endpoints Implemented:

The following endpoints were implemented:

Method Resource Description
GET /users/:user_id This resource gets the details of a given account.
GET /users This resource gets a paginated list of created accounts. 'page' and 'limit' are optional query parameters.
POST /users/:user_id/deposits Use this resource to fund a created account.
POST /users/:user_id/withdrawals Use this resource to withdraw funds from a created account.
POST /account/:sender_account_id/transfers/:recipient_account_id This resource handles money transfers between created accounts.
GET /account/:account_id/transactions Resource used to retrieve a paginated list of transactions performed on a given account.
GET /account/:account_id/transactions/:transaction_id Use this resource to retrieve a specific transaction.

@cowrywise-dev
Copy link

This PR has been marked as stale because it has had no activity in the last 21 days. It will be closed in 3 days if there is no further activity.

@cowrywise-dev
Copy link

This PR has been automatically closed due to inactivity.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants