Download MysqlWorkbench(https://dev.mysql.com/downloads/workbench/) and Node.js(https://nodejs.org/en) The MySQL80 service will need to be running for the app to work.
Download the .zip from github containing all the files and folders we have provided, then extract it.
Create a .env file using the template below with your own keys in the main directory where app.js is located. (.env cannot be included in the github as it contains API keys that should not be shared with the public.)
.env file:
ALPHA_VANTAGE_API_KEY= [Insert your API key here]
FIREBASE_API_KEY=[Insert your API key here]
FIREBASE_AUTH_DOMAIN=[Insert your API key here]
FIREBASE_PROJECT_ID=[Insert your API key here]
FIREBASE_STORAGE_BUCKET=[Insert your API key here]
FIREBASE_MESSAGING_SENDER_ID=[Insert your API key here]
FIREBASE_APP_ID=[Insert your API key here]
FIREBASE_MEASUREMENT_ID=[Insert your API key here]
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=1234
DB_NAME=financial_dashboard
DB_PORT=3306
Open Windows PowerShell or Terminal if on Mac
Use cd or dir commands to find the main directory containing app.js
Run npm install and then npm start
Open your browser and navigate to the web app. PowerShell or Terminal output will show the URL that takes you to the website. (typically http://localhost:3000/)
You should now be at our main landing page which will ask you to log in or sign up.