The official website for Medtech Africa.
Medtech Africa's web app built with React with static generation rendering using NextJs.
GET /get-banks
const data = await fetchWithToken("/get-banks")
//or
fetchWithToken("/get-banks").then((data) => console.log(data))
POST /resolve-account
const data = await fetchWithToken("/resolve-account", {
body: {
account_number: "acct nuber",
bank_code: "xxx",
},
})
//or
fetchWithToken("/resolve-account", {
body: {
account_number: "3086589618",
bank_code: "011",
},
}).then((data) => console.log(data))
If you have write access to this repository, you can read more about how to submit a feature, bug fix, or enhancement to the website proceed as follows:
- Clone this repository
- Run
yarn
ornpm install
to install the dependencies - Once the dependencies are installed, run
yarn dev
ornpm run dev
to start the dev server onlocalhost:3000
- Fork this repository to your own GitHub account and then clone it to your local device
- Install dependencies with
yarn install
- Compile the code:
yarn build
- Link the package to the global module directory:
cd ./packages/now-cli && yarn link
- You can start using
vercel
anywhere inside the command line
As always, you should use yarn test-unit
to run the tests and see if your changes have broken anything.