StockVista • Live Demo
Modern stock market platform for tracking stocks, managing watchlists, and setting real-time price alerts.
📈 Track Stocks • ⭐ Watchlists • 🔔 Price Alerts • 📧 Email Notifications
- Search stocks by ticker or company name
- Personalized watchlists
- Real-time market data from Finnhub
- Interactive TradingView charts
- One-time and recurring price alerts
- Welcome and alert email notifications
- Secure authentication with NextAuth
- Optimized API usage and caching
Frontend: Next.js 16, React, TypeScript, Tailwind CSS, shadcn/ui
Backend: MongoDB, Mongoose, Next.js Server Actions
Services: Finnhub API, TradingView Widgets, Auth.js, Nodemailer
Deployment: Vercel
git clone https://github.com/stackdev-ash/StockVista.git
cd StockVista
npm install
npm run devCreate a .env.local file:
MONGODB_URL=
NEXTAUTH_SECRET=
NEXTAUTH_URL=
FINNHUB_API_KEY=
NEXT_PUBLIC_FINNHUB_API_KEY=
NODEMAILER_EMAIL=
NODEMAILER_PASSWORD=Open:
http://localhost:3000- Price alert functionality is fully implemented and tested.
- Daily recurring alert emails are intentionally disabled in production to prevent automated emails from being sent through a personal SMTP account.
- To enable recurring alerts, create a
vercel.jsonfile and configure a Vercel Cron Job to call/api/check-alertson a schedule.
Example:
{
"crons": [
{
"path": "/api/check-alerts",
"schedule": "0 9 * * *"
}
]
}This configuration will run the alert checker once daily at 09:00 UTC.
- Portfolio tracking
- Daily market news summaries
- Watchlist-specific news feed
- Advanced analytics
If you found this project useful, consider starring the repository:



