A simple web application to track stock and cryptocurrency prices using the Alpha Vantage API.
- Get stock price data
- Get cryptocurrency exchange rates
- Supports both stock and crypto inputs
- Server-side rendering using EJS
- Basic error handling for invalid symbols
- Node.js
- Express.js
- Axios
- EJS
- Alpha Vantage API
git clone
cd market-pulse
npm install
Create a .env file in the root directory:
API_KEY=your_alpha_vantage_api_key
node app.js
- Select type: Stock or Crypto
- Enter symbol:
- Stocks: AAPL, TSLA, MSFT
- Crypto: BTC, ETH
- Click "Get Price"
- Some symbols may not be supported by the API
- Free API has request limits
- Crypto data may not be fully real-time
- Improve UI design
- Add charts for price trends
- Support more APIs for broader stock coverage
- Add database for saving user data