Note: Starting 15th June 2023 the free version of the IEX Cloud API no longer provides free access to financial data. To access financial data you need to get the paid version of the IEX API at $19/month.
A stock trading application built using React(Frontend), Node.js and Express(Backend) and PostgreSQL for database. It uses the IEX cloud API to retrieve stock data and Chart.js to visualize graphs.
- Head over to IEX Cloud to create an account to generate your API key
- Clone this repository with
git clone https://github.com/melvinjjoseph/bullbear-stocks-app.git
orgit clone git@github.com:melvinjjoseph/bullbear-stocks-app.git
- Create a local database using queries in the db.js file
- Create a
.env
file and fill in the required fields based on the.env_sample
file - Run
npm i
- Change directory
cd client
and runnpm i
- Return to the root directory and run
npm run dev
to start the development server - Open
localhost:5000
in your browser.
IEX Cloud API- Retrieve stock data
Chart.js- For plotting graphs to visualise data