The test feature both Backend and Frontend in the same repo. In order to access each one of them please navigate to each one on a separate command line or terminal.
Backend
- Locate directory with:
cd backend - Install dependencies:
npm install - Run project with:
npm run-script dev
- If you wish to test please run:
npm run-script test
- Add to the root folder a
credentials.jsonfile with the following structure:*keep in mind that this file doesn't save due to git ignore.{ "BANK_ABREVIATION": { "id": "YOUR_ACC_ID", "password": YOUR_ACC_PASSWORD, "url": "YOUR_BANK_URL" } } - Add a structured file structure under the TEMP folder as follows:
*Note: Please add to all generated files the id for the account
├── temp └── BANK_ABREVIATION ├── YOUR_DESIRED STRUCTURE - In order to view chromium in real time please add
{ headless: false}to your puppeteer launch
Frontend
- Locate directory with:
cd frontend - Install dependencies:
npm install - Run project with:
npm start
- If you wish to test please run:
npm test