Giter Site home page Giter Site logo

finance_dashboard's Introduction

Financial dashboard automation script

This nodeJs script aims to scrappe financial data from wide range of Financial websites

Tech stack

  • NodeJs
  • Puppeteer & puppeteer-extra
  • Google APIs
  • Google Scripts
  • MongoDB

List of Features

  • Scrape data from supported financial websites
  • Integrate with Google sheets API to store scraped data
  • Integrate with Google Apps Script to work as middle-man between nodeJs server and Google sheet
  • Store data on mongoDB Database

List of supported websites

Project structure

├── .env //store all essential credentials needed for script to access different websites
├── controllers //This is where we hold logic and data manipulation
|   └── api.js //Main script API functions
├── focal-cooler-364814-88773190571b.json //Google Service bot , used to authenticate actions done through API
├── google scripts //Google scripts and code needed for each Google Sheet to be able to connect with nodeJs
|   |   ├── .gs //contains functions responsible for connecting with nodeJs API endpoints to control script actions 
|   |   └── index.html //loading page html code
├── helpers
|   ├── general.js //contains common functions shared between all script parts
|   ├── google.js //contains main logic and code functions to scrape google data
|   ├── reuters.js //contains main logic and code functions to scrape reuters data
|   ├── sheets.js //contains main logic and code functions to integrate with Google sheets
|   └── wsj.js //contains main logic and code functions to scrape wsj data
|   └── yahoo.js //contains main logic and code functions to scrape yahoo data
├── index.js //main script server initialization code
└── models //contains all script API endpoints and routing rules
|   └── companyData.js //Holds database model
└── routes //contains all script API endpoints and routing rules
    └── api.js //conatins routing rules and API endpoints functions

Deployment

To deploy this project make sure you have the following requirements installed on your linux or windows machine and updated to the latest version

  • Node.js
  • NPM

for First time installation make sure you install project depencdencies via running

  npm i

then to run project server run

    npm run start

Important Note: Make sure to update MongoDB URL exist in .env file with your new MongoDB URL

  • We recommend using MongoDB atlas free tier for easier experience and you may upgrade if there's a need

finance_dashboard's People

Contributors

mtgons5developer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.