This is a work made at IGTI's API201-A discipline.
It represents a bank API.
Creates an account
Body
{
"name": "My account",
"balance": 100
}
Get an account and its balance
Delete an account
Make a deposit to an account
Body
{
"balance": 100
}
Make a debit to an account
Body
{
"balance": 100
}
-
Clone the project
-
Install packages
$ cd my-bank-api/
$ npm install
- Execute the server
$ npm run start
Requires NodeJs@^12.x