- Node.js ~20.12.0
- NPM ^10.5.0
- TypeScript ~5.3.0
- Mongo ^5.0
git clone https://github.com/MalinavyBusel/bank_app
cd bank_app
git checkout main
- change MONGO_URL in .env to your own
- create apiKey for currency.getgeoapi.com and put it in .env file
npm install
npm run start -- --{db_option} --{run_option}
Name |
Description |
mongo |
mongodb storage, specified in .env MONGO_URL var |
json |
local directory ./db , where documents are stored in json files |
Name |
Description |
cli |
handles commands through stdio |
http |
uses http requests to get commands |