{"id":15013604,"url":"https://github.com/sadmanpieal/cryptocurrecy-wallet-api","last_synced_at":"2026-01-28T12:34:41.981Z","repository":{"id":254663484,"uuid":"847199801","full_name":"sadmanpieal/Cryptocurrecy-Wallet-API","owner":"sadmanpieal","description":"Cryptocurrency Wallet API provides endpoints for managing user wallets, transactions, and exchange rates. It includes automated tests using Postman and Newman to ensure reliability. The API supports operations such as user registration, balance retrieval, transaction processing, and more.","archived":false,"fork":false,"pushed_at":"2024-08-25T06:45:59.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T22:44:02.243Z","etag":null,"topics":["javascript","newman","newman-reporter-htmlextra","nodejs","postman","test-automation","testing-framework"],"latest_commit_sha":null,"homepage":"https://app.beeceptor.com/mock-server/crypto-wallet-server","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sadmanpieal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-25T06:16:02.000Z","updated_at":"2024-08-25T07:27:48.000Z","dependencies_parsed_at":"2024-08-25T07:30:19.980Z","dependency_job_id":"73ee2132-fb6c-48d4-8287-3bc9a1cc2fff","html_url":"https://github.com/sadmanpieal/Cryptocurrecy-Wallet-API","commit_stats":null,"previous_names":["sadmanpieal/cryptocurrecy-wallet-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FCryptocurrecy-Wallet-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FCryptocurrecy-Wallet-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FCryptocurrecy-Wallet-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmanpieal%2FCryptocurrecy-Wallet-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadmanpieal","download_url":"https://codeload.github.com/sadmanpieal/Cryptocurrecy-Wallet-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243307334,"owners_count":20270256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","newman","newman-reporter-htmlextra","nodejs","postman","test-automation","testing-framework"],"created_at":"2024-09-24T19:44:33.408Z","updated_at":"2026-01-28T12:34:41.938Z","avatar_url":"https://github.com/sadmanpieal.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptocurrency Wallet API\n\nThis repository contains the implementation and automated tests for the Cryptocurrency Wallet API. The API is designed to manage user wallets, facilitate transactions, and provide essential cryptocurrency-related functionalities. The tests are crafted using Postman and executed with Newman, ensuring comprehensive coverage and reliability of the API endpoints.\n\n## Table of Contents\n- [Overview](#overview)\n- [API Endpoints Covered](#api-endpoints-covered)\n- [Tools Used](#tools-used)\n- [Setup Instructions](#setup-instructions)\n- [Running the Tests](#running-the-tests)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\nThe Cryptocurrency Wallet API offers a range of endpoints for managing cryptocurrency transactions, including user registration, wallet balance retrieval, transaction processing, and exchange rate queries. This project automates the testing of these endpoints to ensure the API's functionality, reliability, and consistency.\n\n## API Endpoints Covered\n\nThe following API endpoints are covered in the automation:\n\n ### User Management\n - `200 POST /api/v1/register`: Register a user, and create their wallet.\n - `200 POST /api/v1/login`: Login the user and generate a session token.\n\n ### Wallet Operations\n - `200 GET /api/v1/balance`: Retrieve the wallet balance.\n\n ### Transactions\n - `200 GET /api/v1/transactions`: List all the transactions done by the user.\n - `200 POST /api/v1/transactions`: Transfer 5 ETH to a recipient.\n - `200 POST /api/v1/transaction_fee`: Calculate transaction fees and return estimated cost.\n\n ### Exchange Rates\n - `200 GET /api/v1/exchange_rates`: Get an object with all available currency exchange rates.\n\n## Tools Used\n\n- **Postman**: Used for creating, organizing, and running the API test cases.\n- **Newman**: A command-line tool used to run Postman collections in various environments and integrate them into CI/CD pipelines.\n\n## Setup Instructions\n\n### Prerequisites\n- **Node.js** installed on your machine.\n- **Newman** installed globally:\n  ```bash\n  npm install -g newman\n### Cloning the Repository\n\nClone this repository to your local machine:\n\n```bash\ngit clone https://github.com/sadmanpieal/Cryptocurrecy-Wallet-API.git\ncd Cryptocurrecy-Wallet-API\n```\n## Running the Tests\n\nTo run the tests using Newman, use the following command:\n\n```bash\nnewman run Cryptocurrency Wallet API.postman_collection.json\n```\n\nThis command will execute the entire suite of tests against the API.\n### Running with HTML Report\n\nIf you wish to generate an HTML report after running the tests, use:\n\n```bash\nnewman run Cryptocurrency Wallet API.postman_collection.json -r html --reporter-html-export newman-report.html\n```\n\nThe report will be saved as `newman-report.html`.\n![screencapture-file-D-Crypto-Reports-report-html-2024-08-25-12_25_04](https://github.com/user-attachments/assets/a56eeb44-e555-4456-b89b-bad8aa1d6301)\n![screencapture-file-D-Crypto-Reports-report-html-2024-08-25-12_25_48](https://github.com/user-attachments/assets/616e43d2-58bd-4d45-a202-cd5558452e11)\n![screencapture-file-D-Crypto-Reports-report-html-2024-08-25-12_28_14](https://github.com/user-attachments/assets/fc9e3517-ab01-49ee-8313-69f2ef951077)\n![screencapture-file-D-Crypto-Reports-report-html-2024-08-25-12_26_18](https://github.com/user-attachments/assets/23e2c5a8-9a93-4d32-b50c-6403ba769e00)\n\n\n## Project Structure\n\nThe repository is structured as follows:\n\n```\n\nCryptocurrency-Wallet-API/\n│\n├── Cryptocurrency-Wallet-API.postman_collection.json   # Postman collection file containing all API requests and tests.\n├── newman/                                             # Folder containing Newman reports and other artifacts (if applicable).\n└── README.md                                           # Project documentation (this file).\n```\n## Contributing\n\nIf you would like to contribute to this project, please fork the repository and submit a pull request. All contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmanpieal%2Fcryptocurrecy-wallet-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadmanpieal%2Fcryptocurrecy-wallet-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmanpieal%2Fcryptocurrecy-wallet-api/lists"}