Personal project:
Build a personal project on your own, completely from scratch, then submit it to the community for feedback. You're allowed to use any languages and frameworks you want, but you must build it yourself. The purpose of this project is two-fold: a chance to put your skills into practice and to add another project to your portfolio. Well-built personal projects will help you land interviews and jobs, so make sure to put in the effort!
This console application scrapes the Brazilian Treasury Direct website and shows a table with basic data about the available government bonds. For each bond, historical prices and yields can be retrieved and shown as line charts.
Clone this repository with:
git clone https://github.com/danilogalisteu/bd-05-pp-treasurydata.git
The application uses node.js
as the Javascript runtime, nvm
for runtime version management and npm
for package dependency management.
To initialize the application environment, change to the bd-05-pp-treasurydata
folder, run:
nvm use
to activate the correct version of node
, and run:
npm install
to install all dependencies. The application depends on the following packages:
puppeteer
for web scraping (requires Google Chrome available on the system);blessed
andblessed-contrib
for the graphical user interface; anddanfojs-node
for data manipulation.
Its tests depend on the jest
package.
Run the application with:
npm start
Tests can be run with:
npm test