@thomassn_/blastoise v0.1.0-alpha.70
How to use
Add dependency to package.json
$ yarn add @thomassn_/blastoise
Import methods where needed
import { HelloWorld } from "@thomassn_/blastoise"
This project includes:
Common Utilities
Array Utils:
remove(array, removeFunction)
Lokalise settings
Yet to be defined...
API services
Yet to be defined...
Mock api
For testing puroses and local development
add a startscript in your package.json
"hapi": "node node_modules/@thomassn_/blastoise/package/hapi-server/index.js"
The hapi server will start on localhost:1337
Go to http://localhost:1337
and you should see an image of Blastoise
Hapi-server endpoints:
Accounts
GET
/accounts
(all accounts)GET
/accounts/{accountNumber}/details
(account with accountNumber details)POST
/accounts/settings
(update settings of account)
Balances
GET
/accounts/balances
(all account-balances)GET
/accounts/{accountNumber}/balance
(single account-balance from accountNumber)
Payments
GET
/payments
(all payments)POST
/payments/transfer
(create payment)
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago