LearnChart
1. PROJECT INTRODUCTION Learn Chart is a full-stack, AI-powered educational web platform designed to help users learn and understand stock market and cryptocurrency trading in a completely risk-free environment. The platform does not support real trading and does not use real money. Instead, it provides paper trading with virtual money, allowing users to learn, analyze, and practice safely. Learn Chart combines real-time charts, AI-based explanations, and structured learning content to explain price strength, trends, chart patterns, and risk analysis in a simple and beginner-friendly manner. The focus is on understanding why prices move, not blindly trading. 2. PURPOSE OF THE PLATFORM The main purpose of Learn Chart is to: Educate users about stock and crypto fundamentals Explain price movement and market strength Teach chart trends and technical patterns Use AI to analyze trend, pattern, and risk Explain why price is at the current level Allow risk-free learning and practice Build confidence and trust before real trading 3. TECHNOLOGIES & LANGUAGES USED Frontend: HTML, CSS, JavaScript, React.js Backend: Node.js, Express.js Database: MySQL (SQL) AI & Analysis: Python APIs: TradingView (charts only), YouTube Embed (courses) Authentication: JWT + Email OTP (Gmail verification) 4. IMPORTANT RULE TO AVOID CHART ERRORS To ensure no TradingView symbol errors: Users must not type random symbols Stocks and crypto must come from a backend-controlled list Admin stores only TradingView-supported symbols Users search and select approved assets only This guarantees error-free charts and professional UX. 5. INTRODUCTION / LANDING PAGE The landing page must explain: What Learn Chart is How AI helps users learn markets What paper trading is and why it is safe Who can use the platform (beginners & experts) Educational disclaimer Buttons: Sign Up and Login 6. SIGNUP WITH EMAIL VERIFICATION Signup Page: Name Email Password Backend Flow: Store email and hashed password Generate 6-digit OTP Send OTP to user’s Gmail Verify OTP before activating account 7. LOGIN SYSTEM Login Page: Email Password Backend: Validate credentials Generate JWT token Redirect user to Dashboard 8. USER DASHBOARD PAGE The dashboard is the main analysis screen. It must have a clean, responsive layout with proper spacing and dimensions. Users can: Search and add stocks/crypto from approved list Add multiple charts View real-time TradingView charts Change timeframe and indicators Remove charts anytime 9. AI-BASED MARKET ANALYSIS For each asset, AI must show: Trend (Up / Down / Sideways) Chart pattern (Support, Resistance, Breakout, etc.) Risk level (Low / Medium / High) Confidence percentage Simple explanation of price behavior AI is educational only, not financial advice. 10. PORTFOLIO PAGE A separate Portfolio Page must show: Virtual balance Assets added Quantity held Virtual profit or loss Performance summary 11. PAPER TRADING (ZERO RISK) Users can: Buy and sell using virtual money Practice strategies safely Each trade: Is saved in database Updates portfolio Appears in transaction history 12. TRANSACTION HISTORY The platform must store and display: Asset name Buy/Sell type Price and quantity Date and time 13. LEARNING SYSTEM Admin: Uploads YouTube video links Creates structured learning modules User: Watches videos Tracks learning progress 14. ADMIN DASHBOARD Admin must be able to: Manage users Add/remove stock & crypto symbols Control searchable assets Upload courses Monitor platform activity 15. BACKEND & DATABASE Backend handles authentication, OTP verification, asset search, chart loading, portfolio, trades, and AI data. Database stores users, assets, dashboard selections, portfolios, transactions, and learning progress. 16. DISCLAIMER Learn Chart is for educational purposes only. No real trading, no financial advice, no guaranteed profits. ✅ FINAL GOAL Build Learn Chart, a secure, AI-powered educational platform where users can register with email verification, log in safely, search and add stock and crypto charts to a personalized dashboard, analyze markets using AI explanations, manage a virtual portfolio, and practice trading without financial risk.