This project includes a Docker container setup to simplify the environment setup. To run Stock-Tracker using Docker:
- Ensure Docker is installed on your machine. If not, download and install Docker from Docker's website.
- Clone the repository to your local machine.
- Navigate to the cloned directory.
- Replace the API keys in script.js with your own from polygon.io
// Replace 'YOUR_API_KEY_HERE' with your actual API key to enable all features.
const key1 = "YOUR_API_KEY_HERE";
const key2 = "YOUR_API_KEY_HERE";
- Run the following command to start the Docker container:
docker compose up
- Visit http://localhost in your web browser to access the application.
- Ability to sign up, log in, and log out.
- View stock information with dynamic visual indicators including a graph of recent closing prices.
- Add and remove stocks with a personal favorites list.
- View the changes to your favorites list in a history format.
- Fully responsive design that is compatible with mobile.