https://github.com/laisfrigerio/bank-account-node-lowdb
Bank Account API with lowDb (json database)
https://github.com/laisfrigerio/bank-account-node-lowdb
expressjs lowdb nodejs
Last synced: 7 months ago
JSON representation
Bank Account API with lowDb (json database)
- Host: GitHub
- URL: https://github.com/laisfrigerio/bank-account-node-lowdb
- Owner: laisfrigerio
- License: mit
- Created: 2021-08-28T19:24:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-29T01:57:03.000Z (about 4 years ago)
- Last Synced: 2025-01-20T12:07:03.775Z (9 months ago)
- Topics: expressjs, lowdb, nodejs
- Language: JavaScript
- Homepage: http://bank-account-node-lowdb.herokuapp.com/
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bank Account 🏦
Bank Account API with lowDb
## 🛠️ Stack
- NodeJS: v14
- yarn: v1.22.5
- Express
- lowDb: json database
- Jest and supertest
- git flow (feature, release, hotfix)## Run
```
yarn install
yarn dev
```## Run Tests
```
yarn test
yarn test:coverage
```## API 🛣️
### Reset
- POST `/reset`: clean database (db.json)
### Transaction
- POST `/event`: add a new transaction (deposit, withdraw or transfer)
### Balance
- GET `/balance?account_id=1`: get amount from an account
## :woman: Author
[@laisfrigerio](https://github.com/laisfrigerio/)
## 📄 License
This project is licensed under the MIT License - see the LICENSE.md file for details