This is an open source project from DevProjects. Feedback and questions are welcome! Find the project requirements here: Favorite stocks watcher
- Install docker and docker-compose
sudo apt-get update
sudo apt-get install docker.io && sudo apt-get install docker-compose
OR visit Docker Docs to see the installation process for your OS
-
Go to Finnhub and create a new account
-
Copy you API key and Sandbox API key from Finnhub dashboard
-
Clone the project
git clone https://link-to-project
- Go to the project directory
cd Favorite-Stocks-Watcher
- Go to backend folder
cd backend
- Create a new file .env
touch .env
OR
new-item .env
- Paste your keys inside the file in following format
FINNHUB_API_KEY=<Your API key>
FINNHUB_SANDBOX_API_KEY=<Your Sandbox API key>
- Go back to the main project directory
cd ../
- Build the image
docker-compose build
- Run the containers
docker-compose up -d
-
Go to http://localhost:3000 and start using the application.
-
To stop the containers
docker-compose down