A modern, real-time stock market tracking and trading application built with the MERN stack.
TickrFlow is a full-stack stock market application that allows users to:
β
Search for stock details by entering a ticker symbol.
β
View real-time stock prices and historical variations (1, 3, 6, 12 months).
β
Buy and sell stocks with a user-friendly trading interface.
β
Stay updated with the latest news related to the searched stock.
- Frontend: React.js, Redux, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- API Integration: Finnhub API, Polygon.io API, Highcharts API
- π Real-time Stock Search: Enter a ticker symbol to fetch details instantly.
- π Historical Price Chart: Visualizes stock price changes over multiple timeframes.
- π° Buy & Sell Functionality: Simulated trading experience with stock transactions.
- π° Stock Market News: Displays the latest financial news about a company.
- π User Authentication: Secure login/signup using JWT & bcrypt.
- β Watchlist: Add and manage favorite stocks.
- π Portfolio Tracking: Manage stock investments with profit/loss calculations.
-
Clone the repository:
git clone https://github.com/yourusername/stock-search.git cd stock-search -
Install dependencies:
- Backend:
cd backend npm install - Frontend:
cd frontend npm install
- Backend:
-
Set up environment variables:
- Create a
.envfile in the backend and add:MONGO_URI=your_mongodb_connection_string FINNHUB_API_KEY=your_finnhub_api_key POLYGON_API_KEY=your_polygon_api_key JWT_SECRET=your_jwt_secret
- Create a
-
Run the application:
- Start the backend server:
cd backend npm start - Start the frontend:
cd frontend npm start
- Start the backend server:
-
Access the app:
- Open http://localhost:3000 in your browser.
- Finnhub API: Fetch stock details, historical data, news, recommendation trends.
- Polygon.io API: Fetch detailed stock historical price data.
- Highcharts API: Create interactive stock price charts.
Feel free to fork the repository, create a feature branch, and submit a pull request. Contributions are welcome!